diff options
author | Alan Pearce | 2025-01-05 12:10:44 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-05 12:16:17 +0100 |
commit | 12af22f93a8a5599ef8b3897341274a50e7da9f5 (patch) | |
tree | 8476869870d15da317233108aeee0b4e0670368d /.envrc | |
parent | b66c1ed87b556844421886ead373ffdd4ca25663 (diff) | |
download | website-12af22f93a8a5599ef8b3897341274a50e7da9f5.tar.lz website-12af22f93a8a5599ef8b3897341274a50e7da9f5.tar.zst website-12af22f93a8a5599ef8b3897341274a50e7da9f5.zip |
Revert "disable lorri (broken on darwin)"
This reverts commit b66c1ed87b556844421886ead373ffdd4ca25663.
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.envrc b/.envrc index a5b4b96..c0b3b3e 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,12 @@ layout go -use flake +if type -P lorri &>/dev/null; then + if test -n "$TMPDIR"; then + 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 dotenv |