2023-05-17 22:45:00 +00:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
2022-04-23 04:20:00 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2022-09-24 15:58:07 +00:00
|
|
|
inherit openssl;
|
2022-04-23 04:20:00 +00:00
|
|
|
python = python3;
|
|
|
|
};
|
2022-12-08 22:29:33 +00:00
|
|
|
|
2022-04-23 04:20:00 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-06-21 04:20:00 +00:00
|
|
|
version = "18.16.1";
|
|
|
|
sha256 = "sha256-6EBPjI2J/f336Vu7xgZr0OVxrLpY9USSWZthX77v4nI=";
|
2022-04-23 04:20:00 +00:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-09-30 16:30:03 +00:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2023-03-07 04:20:00 +00:00
|
|
|
./revert-arm64-pointer-auth.patch
|
2023-05-17 22:45:00 +00:00
|
|
|
./node-npm-build-npm-package-logic.patch
|
2023-02-03 04:20:00 +00:00
|
|
|
];
|
2022-04-23 04:20:00 +00:00
|
|
|
}
|