2023-11-16 04:20:00 +00:00
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }:
|
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "22.0.0";
|
|
|
|
sha256 = "sha256-IuKPv/MfaQc7gCTLQnReUQX4QEHzR1smC5fVoUEDnRo=";
|
2023-11-16 04:20:00 +00:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
|
|
|
./bypass-darwin-xcrun-node16.patch
|
|
|
|
./node-npm-build-npm-package-logic.patch
|
|
|
|
];
|
|
|
|
}
|