add shell.nix for setting up devenv
This commit is contained in:
parent
a1aef7cae5
commit
4ed65eb436
18
shell.nix
Normal file
18
shell.nix
Normal 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"
|
||||
'';
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user