Adding simple Nodejs 10 LTS recipe
This commit is contained in:
parent
681650812c
commit
0cd6789214
12
shell-recipes/node-10.nix
Normal file
12
shell-recipes/node-10.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "node";
|
||||||
|
buildInputs = [
|
||||||
|
nodejs-10_x
|
||||||
|
jq
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
alias scripts='jq ".scripts" package.json'
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user