nixpkgs-suyu/pkgs/development/web/nodejs/v12.nix
Jonathan del Strother 67be794a7f nodejs: Fix build by pinning to icu68
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'
```
2021-04-28 09:28:19 +01:00

14 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;
}