fix: Allow to run via nix run

This commit is contained in:
2026-04-20 09:11:20 +02:00
parent dd30452b6b
commit 43536113ad
5 changed files with 22 additions and 19 deletions
+1 -7
View File
@@ -1,9 +1,3 @@
#!/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
use nix