2022-10-20 04:20:00 +00:00
|
|
|
{ callPackage, openssl, fetchpatch, python3, enableNpm ? true }:
|
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
2022-12-08 22:29:33 +00:00
|
|
|
|
2022-10-20 04:20:00 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-04-10 04:20:00 +00:00
|
|
|
version = "19.9.0";
|
|
|
|
sha256 = "sha256-x/zp1Gymzg2JkEM8v2AbuSecDq7YcFs1cBjPUL6b7Sk=";
|
2022-10-20 04:20:00 +00:00
|
|
|
patches = [
|
2022-11-30 04:20:00 +00:00
|
|
|
./revert-arm64-pointer-auth.patch
|
2022-10-20 04:20:00 +00:00
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2023-01-08 22:03:08 +00:00
|
|
|
];
|
2022-10-20 04:20:00 +00:00
|
|
|
}
|