2023-01-23 22:15:53 +01:00
|
|
|
{ callPackage, fetchpatch, 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
|
|
|
|
2022-04-23 06:20:00 +02:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-03-07 05:20:00 +01:00
|
|
|
version = "18.15.0";
|
|
|
|
sha256 = "sha256-jkTWUBj/lzKEGVwjGGRpoOpAgul+xCAOX1cG1VhNqjc=";
|
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
|
2023-03-07 05:20:00 +01:00
|
|
|
./revert-arm64-pointer-auth.patch
|
2023-02-03 05:20:00 +01:00
|
|
|
];
|
2022-04-23 06:20:00 +02:00
|
|
|
}
|