diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-01-23 22:42:57 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-01-23 22:42:57 +0100 |
commit | e12d9adfe3e72e731230d3926cb46286840a9f7a (patch) | |
tree | 77922f70fe37c82a3e35ea9e4edc58536afad422 /pkgs/development/libraries/icu | |
parent | 8cdf8f15e661cb5dd1fae38cb24b181b2de61e18 (diff) |
icu: fix the output of icu-config --incfile
Diffstat (limited to 'pkgs/development/libraries/icu')
-rw-r--r-- | pkgs/development/libraries/icu/base.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/icu/base.nix b/pkgs/development/libraries/icu/base.nix index 1379a9a373d04..6d9a9725cc2e9 100644 --- a/pkgs/development/libraries/icu/base.nix +++ b/pkgs/development/libraries/icu/base.nix @@ -48,6 +48,9 @@ stdenv.mkDerivation { # remove dependency on bootstrap-tools in early stdenv build postInstall = stdenv.lib.optionalString stdenv.isDarwin '' sed -i 's/INSTALL_CMD=.*install/INSTALL_CMD=install/' $out/lib/icu/${version}/pkgdata.inc + '' + '' + substituteInPlace "$dev/bin/icu-config" \ + --replace \''${pkglibdir}/Makefile.inc "$dev/lib/icu/Makefile.inc" ''; postFixup = ''moveToOutput lib/icu "$dev" ''; |