From cd3c2b1fade210a35abc749d58bf5b8f0434c539 Mon Sep 17 00:00:00 2001 From: Lee Henson Date: Tue, 20 Oct 2020 21:16:09 +0100 Subject: [PATCH] nodejs-15_x: init at 15.0.0 Changelog: https://github.com/nodejs/node/releases/tag/v15.0.0 --- pkgs/development/web/nodejs/v15.nix | 13 +++++++++++++ pkgs/top-level/all-packages.nix | 9 ++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/web/nodejs/v15.nix 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 56856208c5b3..21f7b30c576c 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;