aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.envrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index a5dbbcb..df422cf 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,9 @@
-use flake .
+#!/usr/bin/env bash
+
+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 nix
+fi