mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
20 lines
440 B
Nix
20 lines
440 B
Nix
{ callPackage, fetchpatch, openssl, python3, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl;
|
|
python = python3;
|
|
};
|
|
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "18.15.0";
|
|
sha256 = "sha256-jkTWUBj/lzKEGVwjGGRpoOpAgul+xCAOX1cG1VhNqjc=";
|
|
patches = [
|
|
./disable-darwin-v8-system-instrumentation.patch
|
|
./bypass-darwin-xcrun-node16.patch
|
|
./revert-arm64-pointer-auth.patch
|
|
];
|
|
}
|