summary refs log tree commit diff stats
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 3550a30f..97eccbae 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,8 @@
-use flake
+if type -P lorri &>/dev/null; then
+  eval "$(lorri direnv)"
+else
+  echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
+  use flake
+fi
+PATH_add bin
+FLAKE=$PWD