2021-01-23 17:15:07 +00:00
|
|
|
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
2019-04-23 21:33:00 +00:00
|
|
|
|
|
|
|
let
|
2020-10-14 23:00:00 +00:00
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2020-04-07 11:45:55 +00:00
|
|
|
inherit openssl icu;
|
|
|
|
python = python2;
|
|
|
|
};
|
2019-04-23 21:33:00 +00:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2021-03-30 04:20:00 +00:00
|
|
|
version = "12.22.0";
|
|
|
|
sha256 = "08xsc1pw6352v5lz92ppfhrcmqnbm6m5wmjfs9frz26lp875yp6z";
|
2021-01-23 17:15:07 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
2019-04-23 21:33:00 +00:00
|
|
|
}
|