use nix-direnv

This commit is contained in:
Mitchell Hashimoto
2022-05-04 09:41:08 -07:00
parent 1063d8ba8b
commit 700124ea8e
3 changed files with 10 additions and 9 deletions

5
.envrc
View File

@@ -1,5 +1,6 @@
# If we are a computer with nix-shell available, then use that to setup
# the build environment with exactly what we need.
if has nix-shell; then
use nix
if has nix; then
# Can add ". --impure" if we ever need the parent shell environment. We might.
use flake
fi