2023-05-17 22:45:00 +00:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
2023-04-19 04:30:22 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2024-02-14 04:20:00 +00:00
|
|
|
version = "20.11.1";
|
|
|
|
sha256 = "sha256-d4E+2/P38W0tNdM1NEPe5OYdXuhNnjE4x1OKPAylIJ4=";
|
2023-04-19 04:30:22 +00:00
|
|
|
patches = [
|
|
|
|
./revert-arm64-pointer-auth.patch
|
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2023-05-17 22:45:00 +00:00
|
|
|
./node-npm-build-npm-package-logic.patch
|
2023-08-28 09:20:57 +00:00
|
|
|
];
|
2023-04-19 04:30:22 +00:00
|
|
|
}
|