aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/.envrc b/.envrc
index 6bb4547e..6ad5fe23 100644
--- a/.envrc
+++ b/.envrc
@@ -1,4 +1,6 @@
-NIX_ENFORCE_PURITY=0
-if [ -e .envrc-local ]; then # source an additional user-specific .envrc in ./.envrc-local
- source .envrc-local
+if [ -f .envrc-local ]; then
+ source_env_if_exists .envrc-local || source .envrc-local
+fi
+if [ -f .envrc-nix ]; then
+ source_env_if_exists .envrc-nix || source .envrc-nix
fi