envrc: use nix, nix flakes messes up env in a way that breaks shells

This commit is contained in:
Mitchell Hashimoto
2022-05-06 01:02:35 -07:00
parent aaf160f38b
commit e9cabefe20

3
.envrc
View File

@ -1,6 +1,5 @@
# 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; then
# Can add ". --impure" if we ever need the parent shell environment. We might.
use flake
use nix
fi