mirror of
https://github.com/divnix/digga.git
synced 2024-08-17 11:00:34 +03:00
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
|
||||
watch_file flake.nix
|
||||
watch_file flake.lock
|
||||
# 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
|
||||
.direnv
|
||||
|
Loading…
Reference in New Issue
Block a user