about summary refs log tree commit diff stats
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 3550a30..51aa811 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,7 @@
-use flake
+layout go
+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