Skip to content

Commit 4bbb176

Browse files
phip1611nicholasbishop
authored andcommitted
add .envrc
When one has direnv support in their shell and Nix is installed, the shell will automatically add all definitions inside shell.nix into the local environment, until one leaves the project directory again. This saves one "$ nix-shell" for NixOS users.
1 parent 166ed80 commit 4bbb176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# If your shell has direnv support, it will automatically open a "nix-shell".
2+
use nix

0 commit comments

Comments
 (0)