diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-10-19 21:52:55 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-10-19 21:52:55 -0500 |
commit | 935ddcdab9de4897796862151112cddea8e504ae (patch) | |
tree | 9712eb994204db514f5a4f73d46b0ae64d090c0f /pkgs | |
parent | 5adcd46bc03cf52957129312902c478c109c101c (diff) | |
download | nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar.gz nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar.bz2 nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar.lz nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar.xz nixlib-935ddcdab9de4897796862151112cddea8e504ae.tar.zst nixlib-935ddcdab9de4897796862151112cddea8e504ae.zip |
nodejs-17_x: init at 17.0.1
https://github.com/nodejs/node/releases/tag/v17.0.0 https://github.com/nodejs/node/releases/tag/v17.0.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/web/nodejs/v17.nix | 13 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/web/nodejs/v17.nix b/pkgs/development/web/nodejs/v17.nix new file mode 100644 index 000000000000..e417582b16a9 --- /dev/null +++ b/pkgs/development/web/nodejs/v17.nix @@ -0,0 +1,13 @@ +{ callPackage, python3, enableNpm ? true }: + +let + buildNodejs = callPackage ./nodejs.nix { + python = python3; + }; +in +buildNodejs { + inherit enableNpm; + version = "17.0.1"; + sha256 = "071lhqbn103rnn8avqmqwnn2k4yqgcymx624f23k8z6bfbw81i3f"; + patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 667b8342510e..b01dbd62d8c5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6983,7 +6983,12 @@ with pkgs; nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix { enableNpm = false; }; + nodejs-17_x = callPackage ../development/web/nodejs/v17.nix { }; + nodejs-slim-17_x = callPackage ../development/web/nodejs/v17.nix { + enableNpm = false; + }; # Update this when adding the newest nodejs major version! + # Do not set to nodejs-17_x because it requires 10.13 SDK on Darwin nodejs_latest = nodejs-16_x; nodejs-slim_latest = nodejs-slim-16_x; |