mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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
@ -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 New Issue
Block a user