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
Contributor
No description provided.
Owner

Please change it to detect whether lorri is available

(similar to the default .envrc installed by lorri init)

#!/usr/bin/env bash
# the shebang is ignored, but nice for editors

if type -P lorri &>/dev/null; then
  eval "$(lorri direnv)"
else
  echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
  use nix
fi
Please change it to detect whether lorri is available (similar to the default .envrc installed by `lorri init`) ``` #!/usr/bin/env bash # the shebang is ignored, but nice for editors if type -P lorri &>/dev/null; then eval "$(lorri direnv)" else echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' use nix fi ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#148
No description provided.