2023-05-24 13:37:59 +00:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "20.12.2";
|
|
|
|
sha256 = "sha256-18vMX7+zHpAB8/AVC77aWavl3XE3qqYnOVjNWc41ztc=";
|
2023-04-29 16:46:19 +00:00
|
|
|
patches = [
|
|
|
|
./revert-arm64-pointer-auth.patch
|
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2023-05-24 13:37:59 +00:00
|
|
|
./node-npm-build-npm-package-logic.patch
|
2023-04-29 16:46:19 +00:00
|
|
|
];
|
|
|
|
}
|