2021-01-23 17:15:07 +00:00
|
|
|
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
2019-04-23 22:33:00 +01:00
|
|
|
|
|
|
|
let
|
2020-10-15 00:00:00 +01:00
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2020-04-07 12:45:55 +01:00
|
|
|
inherit openssl icu;
|
|
|
|
python = python2;
|
|
|
|
};
|
2019-04-23 22:33:00 +01:00
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2021-04-07 05:20:00 +01:00
|
|
|
version = "12.22.1";
|
|
|
|
sha256 = "12drpkffn79xx84pffg9y2cn9fiwycgaa2rjj3ix6visfzvhsrfx";
|
2021-01-23 17:15:07 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
2019-04-23 22:33:00 +01:00
|
|
|
}
|