2022-11-02 22:02:43 +00:00
|
|
|
{ callPackage, openssl, fetchpatch, python3, enableNpm ? true }:
|
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "19.6.0";
|
|
|
|
sha256 = "sha256-UZxtVCqfmW8AwaPTsuXPUrfbmY2V9s7VqJPRagPeM+o=";
|
2022-11-02 22:02:43 +00:00
|
|
|
patches = [
|
2022-12-02 08:20:57 +00:00
|
|
|
./revert-arm64-pointer-auth.patch
|
2022-11-02 22:02:43 +00:00
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
|
|
|
];
|
|
|
|
}
|