about summary refs log tree commit diff
path: root/tvix/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/.envrc')
-rw-r--r--tvix/.envrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/.envrc b/tvix/.envrc
new file mode 100644
index 0000000000..ea1ec94e43
--- /dev/null
+++ b/tvix/.envrc
@@ -0,0 +1,10 @@
+source_env ../.envrc
+
+if type lorri &>/dev/null; then
+    echo "direnv: using lorri from PATH ($(type -p lorri))"
+    eval "$(lorri direnv)"
+else
+    # fall back to using direnv's builtin nix support
+    # to prevent bootstrapping problems.
+    use nix
+fi