Added shell.nix
This commit is contained in:
parent
eb9a6476c7
commit
56024cc688
1 changed files with 12 additions and 0 deletions
12
shell.nix
Normal file
12
shell.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "node";
|
||||||
|
buildInputs = [
|
||||||
|
nodejs_21
|
||||||
|
hugo
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
export PATH="$PWD/node_modules/.bin/:$PATH"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue