mirror of
https://github.com/helix-editor/helix.git
synced 2025-03-31 09:27:45 +03:00
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:
parent
ab56f9e26b
commit
28e69f09fc
1 changed files with 2 additions and 1 deletions
3
.envrc
3
.envrc
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue