perlPackages.TextWrapI18N: Fix glibc path

Glibc is the one exception where ${glibc}/bin doesn't work (as the more
common usage is ${glibc}/lib-ld-linux.so.2)...
This commit is contained in:
Tuomas Tynkkynen 2017-02-10 19:27:49 +02:00
parent 6bf0a984ef
commit 1862a9a4fb

View file

@ -13829,7 +13829,7 @@ let self = _self // overrides; _self = with self; {
};
propagatedBuildInputs = [ pkgs.glibc TextCharWidth ];
preConfigure = ''
substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${pkgs.glibc}/bin/locale'
substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${pkgs.glibc.bin}/bin/locale'
'';
meta = {
description = "Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words";