add(nix): lorri integration (#1200)
Check, if direnv supports lorri, if not run `use_flake` directly from direnv.
This commit is contained in:
parent
a66ce1c86c
commit
a25fd88dbb
1 changed files with 5 additions and 1 deletions
6
.envrc
6
.envrc
|
|
@ -1 +1,5 @@
|
|||
use_flake
|
||||
if command -v lorri >/dev/null 2>&1; then
|
||||
eval "$(lorri direnv)"
|
||||
else
|
||||
use flake
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue