diff options
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..ed8f9482 --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +if type -P lorri &>/dev/null; then + if test -n "$TMPDIR"; then + export TMPDIR="$(readlink -f $TMPDIR)" + fi + eval "$(lorri direnv --flake .)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi |