2023-05-24 13:37:59 +00:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2022-09-30 11:47:45 +00:00
|
|
|
inherit openssl;
|
2022-04-27 09:35:20 +00:00
|
|
|
python = python3;
|
|
|
|
};
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "18.16.1";
|
|
|
|
sha256 = "sha256-6EBPjI2J/f336Vu7xgZr0OVxrLpY9USSWZthX77v4nI=";
|
2022-04-27 09:35:20 +00:00
|
|
|
patches = [
|
2022-09-09 14:08:57 +00:00
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-10-30 15:09:59 +00:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2023-03-27 19:17:25 +00:00
|
|
|
./revert-arm64-pointer-auth.patch
|
2023-05-24 13:37:59 +00:00
|
|
|
./node-npm-build-npm-package-logic.patch
|
2023-02-09 11:40:11 +00:00
|
|
|
];
|
2022-04-27 09:35:20 +00:00
|
|
|
}
|