2022-07-22 05:20:00 +01:00
|
|
|
{ callPackage, openssl, python3, fetchpatch, enableNpm ? true }:
|
2021-04-20 05:20:00 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2022-10-14 05:20:00 +01:00
|
|
|
version = "16.18.0";
|
|
|
|
sha256 = "sha256-/P5q0jQPIpBh0+galN8Wf+P3fgFxLe3AFEoOfVjixps=";
|
2021-12-11 02:28:09 +00:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-09-30 17:30:03 +01:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2021-12-11 02:28:09 +00:00
|
|
|
];
|
2021-04-20 05:20:00 +01:00
|
|
|
}
|