direnv: add flake profile so shell isn't GC'd

This commit is contained in:
Timothy DeHerrera 2020-07-20 18:53:21 -06:00
parent cd44832dc1
commit 29f5382539
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 3 additions and 1 deletions

3
.envrc
View file

@ -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
View file

@ -1 +1,2 @@
result result
.direnv