nodejs: cross-compile with icu

This commit is contained in:
Ivan Trubach 2023-06-19 05:42:58 +03:00
parent d9dc4b0a07
commit e4d6d1b05b

View File

@ -52,7 +52,7 @@ let
CC_host = "cc";
CXX_host = "c++";
depsBuildBuild = [ buildPackages.stdenv.cc openssl libuv zlib ];
depsBuildBuild = [ buildPackages.stdenv.cc openssl libuv zlib icu ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ]
++ lib.optional isCross runtimeShellPackage # for patchShebangs
@ -71,7 +71,6 @@ let
"--without-dtrace"
] ++ (lib.optionals isCross [
"--cross-compiling"
"--without-intl"
"--dest-cpu=${let platform = stdenv.hostPlatform; in
if platform.isAarch32 then "arm"
else if platform.isAarch64 then "arm64"