2022-08-12 12:06:08 +00:00
|
|
|
{ callPackage, openssl, python3, fetchpatch, enableNpm ? true }:
|
2021-04-22 02:08:21 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
|
|
inherit openssl;
|
|
|
|
python = python3;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "16.18.1";
|
|
|
|
sha256 = "sha256-H4BRqI+G9CBk9EFf56mA5ZsKUC7Mje9YP2MDvE1EUjg=";
|
2021-12-19 01:06:50 +00:00
|
|
|
patches = [
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch
|
2022-10-30 15:09:59 +00:00
|
|
|
./bypass-darwin-xcrun-node16.patch
|
2021-12-19 01:06:50 +00:00
|
|
|
];
|
2021-04-22 02:08:21 +00:00
|
|
|
}
|