2024-10-11 05:15:48 +00:00
|
|
|
{ callPackage, fetchpatch2, openssl, python3, enableNpm ? true }:
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2024-10-29 11:11:06 +00:00
|
|
|
version = "22.10.0";
|
|
|
|
sha256 = "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0";
|
2023-11-16 04:20:00 +00:00
|
|
|
patches = [
|
2024-09-19 14:19:46 +00:00
|
|
|
./configure-emulator.patch
|
|
|
|
./configure-armv6-vfpv2.patch
|
2023-11-16 04:20:00 +00:00
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
|
|
|
./node-npm-build-npm-package-logic.patch
|
2024-07-27 06:49:29 +00:00
|
|
|
./use-correct-env-in-tests.patch
|
|
|
|
./bin-sh-node-run-v22.patch
|
2024-10-29 11:11:06 +00:00
|
|
|
];
|
2023-11-16 04:20:00 +00:00
|
|
|
}
|