nix: simplify direnv integration
This commit is contained in:
parent
bba7a1e7d2
commit
4f7ac42b3d
1 changed files with 0 additions and 7 deletions
7
.envrc
7
.envrc
|
|
@ -1,8 +1 @@
|
|||
use_flake() {
|
||||
watch_file flake.nix
|
||||
watch_file flake.lock
|
||||
eval "$(nix print-dev-env)"
|
||||
}
|
||||
|
||||
use flake
|
||||
eval "$shellHooks"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue