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 = "20.12.2";
12 sha256 = "sha256-18vMX7+zHpAB8/AVC77aWavl3XE3qqYnOVjNWc41ztc=";
13 patches = [
14 ./revert-arm64-pointer-auth.patch
15 ./disable-darwin-v8-system-instrumentation-node19.patch
16 ./bypass-darwin-xcrun-node16.patch
17 ./node-npm-build-npm-package-logic.patch
18 ];
19}