From 6f8f3d64ff8bdb50f3816a56f01102cbaba0209b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 31 May 2014 11:04:40 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/icu/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/icu/default.nix b/pkgs/development/libraries/icu/default.nix index b2f2f7a083f..12628e4c53d 100644 --- a/pkgs/development/libraries/icu/default.nix +++ b/pkgs/development/libraries/icu/default.nix @@ -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;