19 lines
479 B
Nix
19 lines
479 B
Nix
{ callPackage, openssl, python3, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl;
|
|
python = python3;
|
|
};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "20.12.2";
|
|
sha256 = "sha256-18vMX7+zHpAB8/AVC77aWavl3XE3qqYnOVjNWc41ztc=";
|
|
patches = [
|
|
./revert-arm64-pointer-auth.patch
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
./bypass-darwin-xcrun-node16.patch
|
|
./node-npm-build-npm-package-logic.patch
|
|
];
|
|
}
|