perl.pkgs.Encode: fix buildEnv collision with perl

fix https://github.com/NixOS/nixpkgs/pull/59215#issuecomment-481485707
This commit is contained in:
volth 2019-04-10 08:52:50 +00:00 committed by volth
parent 03eaa480bd
commit f73eb61113

View file

@ -5105,6 +5105,7 @@ let
url = "mirror://cpan/authors/id/D/DA/DANKOGAI/${name}.tar.gz";
sha256 = "4b538b47459cf5747b7395ccc8c8c9b3b661cc016c50b8a67e10fe19590fea5e";
};
postInstall = ''rm $out/bin/{enc2xs,encguess,piconv} $out/share/man/man1/{enc2xs,encguess,piconv}.1''; # remote the files perl-5.28 already has
meta = {
description = "Character encodings in Perl";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];