mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
21 lines
479 B
Nix
21 lines
479 B
Nix
{ callPackage, openssl, python3, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl;
|
|
python = python3;
|
|
};
|
|
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "20.2.0";
|
|
sha256 = "sha256-IlI98jFsNVaXFP8fabBTwuKGztRgiYQX3uRpRe/N+Yk=";
|
|
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
|
|
];
|
|
}
|