From 7c0c0e6041fb202a62d764e8f2a617917424b0a3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 8 Dec 2023 12:22:37 -0500 Subject: .envrc re-adjust & update direnv - nixDirEnv (a copy of .envrc) used for flake.nix (getting around an issue that arose when building project; may revert to direct use of .envrc) --- nixDevEnv.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'nixDevEnv.sh') diff --git a/nixDevEnv.sh b/nixDevEnv.sh index 669d42f..640d07e 100644 --- a/nixDevEnv.sh +++ b/nixDevEnv.sh @@ -1,9 +1,3 @@ -if [ -f .envrc-git-init ]; then - source_env_if_exists .envrc-git-init || source .envrc-git-init -fi -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 +if [ -f .envrc ]; then + source_env_if_exists .envrc || source .envrc fi -- cgit v1.2.3