- Add declarative shell.nix bundling Node 24, Biome 2.5, uv and Python 3.11 - Add .envrc with use nix for seamless environment loading on directory change - Ignore .direnv cache directory in .gitignore
20 lines
434 B
Nix
20 lines
434 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
name = "bdinvite-dev";
|
|
|
|
buildInputs = with pkgs; [
|
|
nodejs
|
|
biome
|
|
uv
|
|
python311
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "🎂 bdinvite development shell loaded"
|
|
echo " Node: $(node --version 2>/dev/null || echo 'not found')"
|
|
echo " Biome: $(biome --version 2>/dev/null || echo 'not found')"
|
|
echo " uv: $(uv --version 2>/dev/null || echo 'not found')"
|
|
'';
|
|
}
|