mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #101212 from leemhenson/nodejs-15_x
nodejs-15_x: init at 15.0.0
This commit is contained in:
commit
99332f9728
13
pkgs/development/web/nodejs/v15.nix
Normal file
13
pkgs/development/web/nodejs/v15.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ callPackage, openssl, python3, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
inherit openssl;
|
||||
python = python3;
|
||||
};
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "15.0.0";
|
||||
sha256 = "0yrlzxrqb5j0qyj4qgzfxyvvd7c76hpslkiswj3cjcq70qbql4zn";
|
||||
}
|
|
@ -5104,10 +5104,13 @@ in
|
|||
nodejs-slim-14_x = callPackage ../development/web/nodejs/v14.nix {
|
||||
enableNpm = false;
|
||||
};
|
||||
|
||||
nodejs-15_x = callPackage ../development/web/nodejs/v15.nix { };
|
||||
nodejs-slim-15_x = callPackage ../development/web/nodejs/v15.nix {
|
||||
enableNpm = false;
|
||||
};
|
||||
# Update this when adding the newest nodejs major version!
|
||||
nodejs_latest = nodejs-14_x;
|
||||
nodejs-slim_latest = nodejs-slim-14_x;
|
||||
nodejs_latest = nodejs-15_x;
|
||||
nodejs-slim_latest = nodejs-slim-15_x;
|
||||
|
||||
nodePackages_latest = dontRecurseIntoAttrs (callPackage ../development/node-packages/default.nix {
|
||||
nodejs = pkgs.nodejs_latest;
|
||||
|
|
Loading…
Reference in a new issue