Files
nixpkgs/pkgs/development/web/nodejs/v20.nix
Antoine du Hamel b9c56653a4 nodejs_20: 20.19.4 -> 20.19.5
(cherry picked from commit 1e8be648a2)
2025-09-08 10:31:04 +00:00

33 lines
699 B
Nix

{
callPackage,
fetchpatch2,
openssl,
python3,
enableNpm ? true,
}:
let
buildNodejs = callPackage ./nodejs.nix {
inherit openssl;
python = python3;
};
gypPatches = callPackage ./gyp-patches.nix { } ++ [
./gyp-patches-pre-v22-import-sys.patch
];
in
buildNodejs {
inherit enableNpm;
version = "20.19.5";
sha256 = "230c899f4e2489c4b8d2232edd6cc02f384fb2397c2a246a22e415837ee5da51";
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
]
++ gypPatches;
}