direnv: Watch changes to default.nix

Now that the package definition lives in default.nix we need direnv to
watch that file to get automatic reloads.
pull/13024/head
Michael Davis 2025-03-04 11:31:16 -05:00
parent ab56f9e26b
commit 28e69f09fc
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

3
.envrc
View File

@ -1,7 +1,8 @@
watch_file shell.nix
watch_file default.nix
watch_file flake.lock
watch_file rust-toolchain.toml
# try to use flakes, if it fails use normal nix (ie. shell.nix)
use flake || use nix
eval "$shellHook"
eval "$shellHook"