mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Add .envrc for Nix environment setup
This commit is contained in:
parent
bf19ace3e9
commit
5f623c0594
5 changed files with 244 additions and 0 deletions
14
.envrc
Normal file
14
.envrc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Check if nix is available
|
||||
if command -v nix &> /dev/null; then
|
||||
use flake
|
||||
|
||||
echo "✅ Nix development environment loaded"
|
||||
else
|
||||
# Nix is not available - show instructions for non-Nix users
|
||||
echo "⚠️ Nix not detected. Please ensure the following are installed manually:"
|
||||
echo " - Java JDK 17"
|
||||
echo " - Python 3 with invoke package"
|
||||
echo " - Android SDK"
|
||||
echo " - FVM (Flutter Version Management)"
|
||||
echo "💡 To use Nix: Install from https://nixos.org/download.html"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue