1{ callPackage, openssl, python3, enableNpm ? true }:
2
3let
4 buildNodejs = callPackage ./nodejs.nix {
5 inherit openssl;
6 python = python3;
7 };
8in
9buildNodejs {
10 inherit enableNpm;
11 version = "22.2.0";
12 sha256 = "sha256-iJkIqIKNFISRDX5lm2qlet6NUo/w45Dpp372WadihHQ=";
13 patches = [
14 ./disable-darwin-v8-system-instrumentation-node19.patch
15 ./bypass-darwin-xcrun-node16.patch
16 ./node-npm-build-npm-package-logic.patch
17 ];
18}