about summary refs log tree commit diff stats
path: root/.envrc
diff options
context:
space:
mode:
authorAlan Pearce2024-04-29 17:49:18 +0200
committerAlan Pearce2024-04-29 18:56:57 +0200
commit7cebe786bef7360dd0dddbabd220f2d604a14c45 (patch)
treec668f3e46e0b26ba8939079d1b34d7c7149bc9bc /.envrc
parenta021f780a5217ddd2fd762fc9e2befdfbdd28c1a (diff)
downloadwebsite-7cebe786bef7360dd0dddbabd220f2d604a14c45.tar.lz
website-7cebe786bef7360dd0dddbabd220f2d604a14c45.tar.zst
website-7cebe786bef7360dd0dddbabd220f2d604a14c45.zip
flake: enable evaluation by lorri
Diffstat (limited to '.envrc')
-rw-r--r--.envrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 3550a30..8075d5b 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1,6 @@
-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