aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-14 01:48:16 -0700
committerFuwn <[email protected]>2024-09-14 01:48:16 -0700
commit65f459e83643e17604d0ffdeb032d64b7b3fd68a (patch)
tree70104fe8f7cfdcf2f5262e02aa171bd4ad1fb12e
parentchore(nix): pure-er development shell (diff)
downloadlocus-65f459e83643e17604d0ffdeb032d64b7b3fd68a.tar.xz
locus-65f459e83643e17604d0ffdeb032d64b7b3fd68a.zip
chore(nix): use lorri
-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