add shell.nix for setting up devenv

This commit is contained in:
Andreas 2025-01-14 02:31:09 +01:00
parent a1aef7cae5
commit 4ed65eb436

18
shell.nix Normal file
View File

@ -0,0 +1,18 @@
# https://nix.dev/tutorials/declarative-and-reproducible-developer-environments
with import <nixpkgs> { };
mkShell {
# Package names can be found via https://search.nixos.org/packages
nativeBuildInputs = [
nodejs_22
sqlite
python3
];
# NIX_ENFORCE_PURITY = true;
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}