nodejs: cross-compile with icu
This commit is contained in:
parent
d9dc4b0a07
commit
e4d6d1b05b
1 changed files with 1 additions and 2 deletions
|
@ -52,7 +52,7 @@ let
|
||||||
|
|
||||||
CC_host = "cc";
|
CC_host = "cc";
|
||||||
CXX_host = "c++";
|
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 ]
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ]
|
||||||
++ lib.optional isCross runtimeShellPackage # for patchShebangs
|
++ lib.optional isCross runtimeShellPackage # for patchShebangs
|
||||||
|
@ -71,7 +71,6 @@ let
|
||||||
"--without-dtrace"
|
"--without-dtrace"
|
||||||
] ++ (lib.optionals isCross [
|
] ++ (lib.optionals isCross [
|
||||||
"--cross-compiling"
|
"--cross-compiling"
|
||||||
"--without-intl"
|
|
||||||
"--dest-cpu=${let platform = stdenv.hostPlatform; in
|
"--dest-cpu=${let platform = stdenv.hostPlatform; in
|
||||||
if platform.isAarch32 then "arm"
|
if platform.isAarch32 then "arm"
|
||||||
else if platform.isAarch64 then "arm64"
|
else if platform.isAarch64 then "arm64"
|
||||||
|
|
Loading…
Reference in a new issue