15 lines
380 B
Nix
Raw Normal View History

2021-01-24 00:15:07 +07:00
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
2018-04-26 12:01:14 +02:00
let
buildNodejs = callPackage ./nodejs.nix {
inherit openssl icu;
python = python2;
};
2018-04-26 12:01:14 +02:00
in
buildNodejs {
inherit enableNpm;
version = "10.23.2";
sha256 = "1iyvs56x5zvvqmpr6kkamgpfj70n2rj1fh7afc7q8hj3bq7f1985";
2021-01-24 00:15:07 +07:00
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
2018-04-26 12:01:14 +02:00
}