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-02 18:25:31 +00:00
|
|
|
version = "19.5.0";
|
|
|
|
sha256 = "sha256-KBMXvce6iVITi/jw9fB2SV95+G6FGmWb4fmD3sM8pXc=";
|
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
|
|
|
|
];
|
|
|
|
}
|