aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-12-23 10:06:47 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-12-23 11:12:53 -0500
commit168e45c3b73ed705ad665395ec1ef5ffc4dc3a6b (patch)
treebcce2f043de8fb93661fd3edfb53f1ab1eecf893 /.envrc
parentmetaverse, xml dom close eof (diff)
nix setup related but messy
Diffstat (limited to '.envrc')
-rw-r--r--.envrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.envrc b/.envrc
index 72eefc7..c0adda9 100644
--- a/.envrc
+++ b/.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