aboutsummaryrefslogtreecommitdiffstats
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 051d09d..c9c0b69 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,8 @@
-eval "$(lorri direnv)"
+if type lorri &>/dev/null; then
+ echo "direnv: using lorri"
+ eval "$(lorri direnv)"
+else
+ # fall back to using direnv's builtin nix support
+ # to prevent bootstrapping problems.
+ use nix
+fi