mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-21 19:29:49 -04:00
10 lines
243 B
Bash
10 lines
243 B
Bash
if has lorri; then
|
|
eval "$(lorri direnv)"
|
|
elif has nix; then
|
|
echo "Using flake fallback since lorri isn't installed"
|
|
use flake
|
|
else
|
|
# noop
|
|
echo "Unsupported direnv configuration. We need nix flake support and lorri installed"
|
|
fi
|