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-01-20 10:41:00 +00:00
|
|
|
version = "19.4.0";
|
|
|
|
sha256 = "0qdj67dgxbjpllm2z9vm46c50s3dqk8a34hbp81vsa7mf3b42182";
|
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
|
|
|
|
];
|
|
|
|
}
|