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-22 10:55:15 +00:00
|
|
|
version = "19.6.1";
|
|
|
|
sha256 = "sha256-dxDmwoUclWvkkm/CVAZ48/3fjm04Juo6qbjCjW6omps=";
|
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
|
|
|
|
];
|
|
|
|
}
|