nixpkgs/pkgs/development/web/nodejs/v22.nix
2024-10-28 10:53:34 +01:00

23 lines
601 B
Nix

{ callPackage, fetchpatch2, openssl, python3, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
inherit openssl;
python = python3;
};
in
buildNodejs {
inherit enableNpm;
version = "22.10.0";
sha256 = "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0";
patches = [
./configure-emulator.patch
./configure-armv6-vfpv2.patch
./disable-darwin-v8-system-instrumentation-node19.patch
./bypass-darwin-xcrun-node16.patch
./node-npm-build-npm-package-logic.patch
./use-correct-env-in-tests.patch
./bin-sh-node-run-v22.patch
];
}