diff options
Diffstat (limited to 'tvix/.envrc')
-rw-r--r-- | tvix/.envrc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/.envrc b/tvix/.envrc new file mode 100644 index 000000000000..ea1ec94e436c --- /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 |