diff options
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |