mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02: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:
3
.envrc
3
.envrc
@@ -1,7 +1,8 @@
|
|||||||
watch_file shell.nix
|
watch_file shell.nix
|
||||||
|
watch_file default.nix
|
||||||
watch_file flake.lock
|
watch_file flake.lock
|
||||||
watch_file rust-toolchain.toml
|
watch_file rust-toolchain.toml
|
||||||
|
|
||||||
# try to use flakes, if it fails use normal nix (ie. shell.nix)
|
# try to use flakes, if it fails use normal nix (ie. shell.nix)
|
||||||
use flake || use nix
|
use flake || use nix
|
||||||
eval "$shellHook"
|
eval "$shellHook"
|
||||||
|
Reference in New Issue
Block a user