Revert "disable lorri (broken on darwin)" This reverts commit b66c1ed87b556844421886ead373ffdd4ca25663.
Alan Pearce alan@alanpearce.eu
Sun, 05 Jan 2025 12:10:44 +0100
1 files changed, 9 insertions(+), 1 deletions(-)
jump to
M .envrc → .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