nix: add direnv integration
This commit is contained in:
parent
be86f4dbb1
commit
d09e9f54f8
1 changed files with 8 additions and 0 deletions
8
.envrc
Normal file
8
.envrc
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
use_flake() {
|
||||||
|
watch_file flake.nix
|
||||||
|
watch_file flake.lock
|
||||||
|
eval "$(nix print-dev-env)"
|
||||||
|
}
|
||||||
|
|
||||||
|
ulimit -s unlimited # Bypass current bug in `nix` flakes evaluation
|
||||||
|
use flake
|
||||||
Loading…
Add table
Add a link
Reference in a new issue