aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv.sh
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-12-08 12:22:37 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2023-12-17 20:05:23 -0500
commit7c0c0e6041fb202a62d764e8f2a617917424b0a3 (patch)
tree4768d465f2def600b46592d58639495027fbbd2e /nixDevEnv.sh
parentconfig_dub.org remove some unused parts (diff)
.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)
Diffstat (limited to 'nixDevEnv.sh')
-rw-r--r--nixDevEnv.sh10
1 files changed, 2 insertions, 8 deletions
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