mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 14:41:24 +01:00
Add default.nix to direnv watches
This commit is contained in:
parent
5c01142933
commit
a26d9bbb17
1 changed files with 2 additions and 0 deletions
2
.envrc
2
.envrc
|
|
@ -1,3 +1,5 @@
|
|||
watch_file $(find . -name "*.nix")
|
||||
|
||||
if [ -L ./result ]; then
|
||||
echo "Found existing build; using flake_env"
|
||||
source ./result/share/flake_env/direnvrc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue