mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
67be794a7f
Node 12/14/15 don't build against icu69, failing with: ``` ../deps/v8/src/objects/js-list-format.cc:172:55: error: 'createInstance' is a private member of 'icu_69::ListFormatter' ```
15 lines
365 B
Nix
15 lines
365 B
Nix
{ callPackage, icu68, python2, lib, stdenv, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
icu = icu68;
|
|
python = python2;
|
|
};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "12.22.1";
|
|
sha256 = "12drpkffn79xx84pffg9y2cn9fiwycgaa2rjj3ix6visfzvhsrfx";
|
|
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
|
}
|