inventree-app/.envrc

9 lines
No EOL
350 B
Bash

# When nix is available, use the flake for environment management
if command -v nix &> /dev/null; then
if type use_flake &> /dev/null; then
use flake
else
echo "Falling back to nix develop (nix-direnv not available)"
eval "$(nix develop --print-env 2>/dev/null || echo 'echo Failed to load nix environment')"
fi
fi