Move .envrc to .envrc.recommended to make it opt-in

This commit is contained in:
David Barnett 2023-03-26 15:54:24 -06:00 committed by David Barnett
parent ded62ff566
commit 329720821b
3 changed files with 7 additions and 4 deletions

3
.envrc
View file

@ -1,3 +0,0 @@
if has nix; then
use flake
fi

5
.envrc.recommended Normal file
View file

@ -0,0 +1,5 @@
# To use: echo "source_env .envrc.recommended" >> .envrc
if has nix; then
use flake
fi

3
.gitignore vendored
View file

@ -1,6 +1,7 @@
/target/
.direnv
.envrc
# generated by nix build, nix-build
result
# generated by the insta crate
*.pending-snap
.direnv