From 1862a9a4fbeec27179195d7fd8fe18165ae12ada Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 10 Feb 2017 19:27:49 +0200 Subject: [PATCH] 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)... --- pkgs/top-level/perl-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 70d01fbc143..6105fcf54aa 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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";