Skip to content

Commit

Permalink
direnv: Watch changes to default.nix
Browse files Browse the repository at this point in the history
Now that the package definition lives in default.nix we need direnv to
watch that file to get automatic reloads.
  • Loading branch information
the-mikedavis committed Mar 4, 2025
1 parent ab56f9e commit 28e69f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 28e69f0

Please sign in to comment.