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.
This commit is contained in:
Michael Davis 2025-03-04 11:31:16 -05:00
parent ab56f9e26b
commit 28e69f09fc
No known key found for this signature in database

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"