direnv: add flake profile so shell isn't GC'd
This commit is contained in:
parent
cd44832dc1
commit
29f5382539
3
.envrc
3
.envrc
@ -1,5 +1,6 @@
|
|||||||
|
mkdir -p $(direnv_layout_dir)
|
||||||
# reload when these files change
|
# reload when these files change
|
||||||
watch_file flake.nix
|
watch_file flake.nix
|
||||||
watch_file flake.lock
|
watch_file flake.lock
|
||||||
# load the flake devShell
|
# load the flake devShell
|
||||||
eval "$(nix print-dev-env)"
|
eval "$(nix print-dev-env --profile $(direnv_layout_dir)/flake-profile)"
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
result
|
result
|
||||||
|
.direnv
|
||||||
|
Loading…
Reference in New Issue
Block a user