diff --git a/pkgs/development/web/nodejs/v15.nix b/pkgs/development/web/nodejs/v15.nix new file mode 100644 index 000000000000..97a7ad322358 --- /dev/null +++ b/pkgs/development/web/nodejs/v15.nix @@ -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"; + } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c9d58fba33fb..f08a50be658e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;