20 lines
478 B
Nix
20 lines
478 B
Nix
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
||
|
|
||
|
let
|
||
|
buildNodejs = callPackage ./nodejs.nix {
|
||
|
inherit openssl;
|
||
|
python = python3;
|
||
|
};
|
||
|
in
|
||
|
buildNodejs {
|
||
|
inherit enableNpm;
|
||
|
version = "21.2.0";
|
||
|
sha256 = "sha256-1Xyc6jlHZPodmvUeUsdEn3EZPp1ExKgfvt7GU+yCdwc=";
|
||
|
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
|
||
|
];
|
||
|
}
|