direnv: update envrc
This commit is contained in:
parent
4e9786442b
commit
6f2c137c06
11
.envrc
11
.envrc
|
@ -1,10 +1,3 @@
|
||||||
# reload when these files change
|
# reload when these files change
|
||||||
watch_file flake.nix
|
watch_file shell/* flake.nix
|
||||||
watch_file shell.nix
|
use flake || use nix
|
||||||
|
|
||||||
{
|
|
||||||
# shell gc root dir
|
|
||||||
mkdir -p "$(direnv_layout_dir)"
|
|
||||||
|
|
||||||
eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
|
|
||||||
} || use nix
|
|
||||||
|
|
Loading…
Reference in a new issue