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