add nodejs version

This commit is contained in:
Kierán Meinhardt
2019-03-14 22:00:49 +01:00
parent 52ffa95e52
commit 84c9f6022d
10 changed files with 2650 additions and 0 deletions

8
node/shell.nix Normal file
View File

@@ -0,0 +1,8 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "bvg-node";
buildInputs = [ nodePackages.yarn nodePackages.typescript ];
shellHook = ''
export PATH=$PATH:$(pwd)/node_modules/.bin
'';
}