nix: teach direnv about flake.nix imports
direnv now watches flake.nix dependencies in `nix/`, reloading the environment on any changes.pull/1104/head
parent
e36c5203fa
commit
33ebda5633
1
.envrc
1
.envrc
|
|
@ -1,5 +1,6 @@
|
||||||
# If we are a computer with nix-shell available, then use that to setup
|
# If we are a computer with nix-shell available, then use that to setup
|
||||||
# the build environment with exactly what we need.
|
# the build environment with exactly what we need.
|
||||||
if has nix; then
|
if has nix; then
|
||||||
|
watch_file nix/{devShell,package,wraptest}.nix
|
||||||
use flake
|
use flake
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue