2021-02-05 17:12:51 +00:00
|
|
|
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2020-10-16 20:44:37 +00:00
|
|
|
buildNodejs = callPackage ./nodejs.nix {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit openssl icu;
|
|
|
|
python = python2;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildNodejs {
|
|
|
|
inherit enableNpm;
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "12.20.2";
|
|
|
|
sha256 = "0g3dxip7b5j7fzkw4b82ln93fphxn1zpdizbj1ikjv3hy00dc6ln";
|
2021-02-05 17:12:51 +00:00
|
|
|
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|