94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
20 lines
538 B
Nix
20 lines
538 B
Nix
{ callPackage, openssl, python3, fetchpatch, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl;
|
|
python = python3;
|
|
};
|
|
|
|
npmPatches = callPackage ./npm-patches.nix { };
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "16.20.0";
|
|
sha256 = "sha256-4JkPmSI05ApR/hH5LDgWyTp34bCBFF0912LNECY0U0k=";
|
|
patches = [
|
|
./disable-darwin-v8-system-instrumentation.patch
|
|
./bypass-darwin-xcrun-node16.patch
|
|
./node-npm-build-npm-package-logic-node16.patch
|
|
] ++ npmPatches;
|
|
}
|