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.
kiaragrouwstra added 1 commit 2024-10-21 16:28:42 +00:00
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 ```
kiaragrouwstra force-pushed lorri from 2ae7672fad to 4dd93c3672 2024-10-27 09:28:19 +00:00 Compare
kiaragrouwstra force-pushed lorri from 4dd93c3672 to e58985cae7 2024-10-27 09:38:33 +00:00 Compare
yu-re-ka merged commit 5ae71fff99 into main 2024-10-27 09:42:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
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.