From 168e45c3b73ed705ad665395ec1ef5ffc4dc3a6b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 23 Dec 2021 10:06:47 -0500 Subject: nix setup related but messy --- sundry/spine_search_cgi/.envrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sundry/spine_search_cgi/.envrc') 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 -- cgit v1.2.3