aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-02-25 10:36:43 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-03-05 16:34:52 -0500
commitc4089574242a027db1655f0ee15eac9953fe9993 (patch)
treec7576090a317f5cb915c4a6407393ca458d4ec4b /.envrc
parentexternal & build dependences in src tree (diff)
cleaning
Diffstat (limited to '.envrc')
-rw-r--r--.envrc7
1 files changed, 2 insertions, 5 deletions
diff --git a/.envrc b/.envrc
index 2721ba3..2b39146 100644
--- a/.envrc
+++ b/.envrc
@@ -1,13 +1,10 @@
if type lorri &>/dev/null; then
echo "direnv: using lorri from PATH ($(type -p lorri))"
eval "$(lorri direnv)"
-else
- # fall back to using direnv's builtin nix support
- # to prevent bootstrapping problems.
+else # fallback prevent bootstrapping problems by using direnv's builtin nix support
use nix
NIX_ENFORCE_PURITY=0
fi
-# source an additional user-specific .envrc in ./.envrc-local
-if [ -e .envrc-local ]; then
+if [ -e .envrc-local ]; then # source an additional user-specific .envrc in ./.envrc-local
source .envrc-local
fi