2022-07-22 04:20:00 +00:00
|
|
|
{ callPackage, openssl, python3, fetchpatch, enableNpm ? true }:
|
2021-04-20 04:20:00 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
2022-12-08 22:29:33 +00:00
|
|
|
|
|
|
|
npmPatches = callPackage ./npm-patches.nix { };
|
2021-04-20 04:20:00 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-01-08 22:02:43 +00:00
|
|
|
version = "16.19.0";
|
|
|
|
sha256 = "01k72p0hp4lhlpz1syd9cbkm2gpfww0hn10xdpmzd4i3x8dfq7sg";
|
2021-12-11 02:28:09 +00:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-09-30 16:30:03 +00:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2022-12-08 22:29:33 +00:00
|
|
|
] ++ npmPatches;
|
2021-04-20 04:20:00 +00:00
|
|
|
}
|