nodejs: init at v10.0.0

This commit is contained in:
Sergej Leibenzon 2018-04-26 12:01:14 +02:00 committed by Sergej Leibenzon
parent c53c7a02fe
commit 2119545865
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{ stdenv, callPackage, lib, openssl, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
in
buildNodejs {
inherit enableNpm;
version = "10.0.0";
sha256 = "0l5bx2j4f2ij19kx14my7g7k37j3fn9qpjvbisjvhpbm42810fg2";
patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ];
}

View File

@ -3390,6 +3390,14 @@ with pkgs;
nodejs-9_x = callPackage ../development/web/nodejs/v9.nix {};
nodejs-slim-9_x = callPackage ../development/web/nodejs/v9.nix { enableNpm = false; };
nodejs-10_x = callPackage ../development/web/nodejs/v10.nix {
openssl = openssl_1_1_0;
};
nodejs-slim-10_x = callPackage ../development/web/nodejs/v10.nix {
enableNpm = false;
openssl = openssl_1_1_0;
};
nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
nodejs = pkgs.nodejs-8_x;
};