commit
00d48f0ea3
|
@ -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 ];
|
||||||
|
}
|
|
@ -6983,7 +6983,12 @@ with pkgs;
|
||||||
nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix {
|
nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix {
|
||||||
enableNpm = false;
|
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!
|
# 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_latest = nodejs-16_x;
|
||||||
nodejs-slim_latest = nodejs-slim-16_x;
|
nodejs-slim_latest = nodejs-slim-16_x;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue