aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/spine_search_cgi/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'sundry/spine_search_cgi/.envrc')
-rw-r--r--sundry/spine_search_cgi/.envrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sundry/spine_search_cgi/.envrc b/sundry/spine_search_cgi/.envrc
index 72eefc7..c0adda9 100644
--- a/sundry/spine_search_cgi/.envrc
+++ b/sundry/spine_search_cgi/.envrc
@@ -3,6 +3,6 @@ if ! has nix_direnv_version || ! nix_direnv_version 1.4.0; then
# https://github.com/nix-community/nix-direnv
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.4.0/direnvrc" "sha256-4XfVDjv75eHMWN4G725VW7BoOV4Vl3vAabK4YXIfPyE="
fi
-if [ -e .env/local ]; then # source an additional user-specific .envrc in ./.env/local
- source .env/local
+if [ -e .env/local ]; then
+ source_env_if_exists .env/local || source .env/local
fi