Skip to content

Commit

Permalink
Merge pull request #113180 from tobim/pkgs/wrapi18n-glibc
Browse files Browse the repository at this point in the history
perlPackages.TextWrapI18N: don't propagate glibc
  • Loading branch information
stigtsp authored Feb 15, 2021
2 parents 50dd350 + 53abd00 commit 478c52b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21922,15 +21922,14 @@ let
url = "mirror://cpan/authors/id/K/KU/KUBOTA/Text-WrapI18N-0.06.tar.gz";
sha256 = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488";
};
propagatedBuildInputs = [ pkgs.glibc TextCharWidth ];
buildInputs = [ pkgs.glibcLocales ];
propagatedBuildInputs = [ TextCharWidth ];
preConfigure = ''
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";
license = with lib.licenses; [ artistic1 gpl2 ];
# bogus use of glibc, pretty sure, think this is what we have glibcLocales for?
broken = stdenv.hostPlatform.libc != "glibc";
};
};

Expand Down

0 comments on commit 478c52b

Please sign in to comment.