summaryrefslogtreecommitdiffstats
path: root/.envrc
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-10-06 22:38:41 +0100
committerYann Herklotz <git@yannherklotz.com>2022-10-06 22:38:41 +0100
commit5f43e2751ee2e07b0d5f7fdd12a3d2eb1ad2c7c5 (patch)
treea4f04d5b7189895d45eeec4a364651f6e19d8622 /.envrc
downloadpadicted-main.tar.gz
padicted-main.zip
Add initial filesmain
Diffstat (limited to '.envrc')
-rw-r--r--.envrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..c9c0b69
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,8 @@
+if type lorri &>/dev/null; then
+ echo "direnv: using lorri"
+ eval "$(lorri direnv)"
+else
+ # fall back to using direnv's builtin nix support
+ # to prevent bootstrapping problems.
+ use nix
+fi