chore: add lorri to prevent direnv from blocking, closes #147 #148

Merged
yu-re-ka merged 1 commit from kiaragrouwstra/infra:lorri into main 2024-10-27 09:42:17 +00:00

9
.envrc
View file

@ -1,2 +1,11 @@
#!/usr/bin/env bash
# the shebang is ignored, but nice for editors
# shellcheck shell=bash # shellcheck shell=bash
if type -P lorri &>/dev/null; then
eval "$(lorri direnv --flake .)"
else
echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
use flake use flake
fi