2023-01-08 23:02:56 +01:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
2022-04-23 06:20:00 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2022-09-24 17:58:07 +02:00
|
|
|
inherit openssl;
|
2022-04-23 06:20:00 +02:00
|
|
|
python = python3;
|
|
|
|
};
|
2022-12-08 23:29:33 +01:00
|
|
|
|
|
|
|
npmPatches = callPackage ./npm-patches.nix { };
|
2022-04-23 06:20:00 +02:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-01-08 23:02:56 +01:00
|
|
|
version = "18.13.0";
|
|
|
|
sha256 = "0s6sscynhw9limpp43f965rn9grdamcvsnd9wfb2h5qxw1icajpx";
|
2022-04-23 06:20:00 +02:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-09-30 18:30:03 +02:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2022-12-08 23:29:33 +01:00
|
|
|
] ++ npmPatches;
|
2022-04-23 06:20:00 +02:00
|
|
|
}
|