2024-09-22 03:14:01 -06:00
|
|
|
{ callPackage, fetchpatch2, openssl, python3, enableNpm ? true }:
|
2024-04-23 22:20:00 -06:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2024-10-28 03:53:34 -06:00
|
|
|
version = "22.10.0";
|
|
|
|
sha256 = "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0";
|
2024-04-23 22:20:00 -06:00
|
|
|
patches = [
|
2023-03-28 09:00:23 -06:00
|
|
|
./configure-emulator.patch
|
2024-07-16 19:57:33 -06:00
|
|
|
./configure-armv6-vfpv2.patch
|
2024-04-23 22:20:00 -06:00
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
|
|
|
./node-npm-build-npm-package-logic.patch
|
2024-05-23 09:22:40 -06:00
|
|
|
./use-correct-env-in-tests.patch
|
2024-07-03 09:08:51 -06:00
|
|
|
./bin-sh-node-run-v22.patch
|
2024-10-28 03:53:34 -06:00
|
|
|
];
|
2024-04-23 22:20:00 -06:00
|
|
|
}
|