icu: fix configure to use ${stdenv.shell}
On darwin, not doing this means the configure script uses a hard-coded /bin/sh for its echo tests, resulting in ECHO_N and ECHO_C settings in icu-config which are incorrect for the stdenv.shell which it is actually uses to run.
This commit is contained in:
parent
61befa0451
commit
6f8f3d64ff
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ stdenv.mkDerivation {
|
|||
echo Source root reset to ''${sourceRoot}
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-debug";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue