From 2aba0a3a07909ab5c89977382340c234add25662 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Wed, 9 Sep 2015 21:00:22 +0200 Subject: [PATCH] PerlIO-via-symlink: fix build --- pkgs/top-level/perl-packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 94b920f5406d..3735e99e32d5 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -8494,6 +8494,14 @@ let self = _self // overrides; _self = with self; { url = mirror://cpan/authors/id/C/CL/CLKAO/PerlIO-via-symlink-0.05.tar.gz; sha256 = "0lidddcaz9anddqrpqk4zwm550igv6amdhj86i2jjdka9b1x81s1"; }; + + buildInputs = [ ModuleInstall ]; + + postPatch = '' + # remove outdated inc::Module::Install included with module + # causes build failure for perl5.18+ + rm -r inc + ''; }; PerlMagick = buildPerlPackage rec {