Merge pull request #232289 from wegank/perl-darwin-misc-2
perlPackages.TextWrapI18N: use unixtools.locale
This commit is contained in:
@@ -25881,7 +25881,7 @@ with self; {
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [ pkgs.glibcLocales ];
|
||||
propagatedBuildInputs = [ TextCharWidth ];
|
||||
preConfigure = ''
|
||||
substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${if stdenv.isDarwin then pkgs.darwin.adv_cmds else pkgs.glibc.bin}/bin/locale'
|
||||
substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${pkgs.unixtools.locale}/bin/locale'
|
||||
'';
|
||||
meta = {
|
||||
description = "Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words";
|
||||
|
||||
Reference in New Issue
Block a user