diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2019-08-15 22:38:20 -0400 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2019-08-16 06:49:50 +0100 |
commit | 136f528bbb67d69d4c660685236640c344808360 (patch) | |
tree | 50431f8a4ef39018560ede290c5ae7af8e112bdc /pkgs/top-level/perl-packages.nix | |
parent | 46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (diff) |
perlPackages.FCGI: fix cross build
Diffstat (limited to 'pkgs/top-level/perl-packages.nix')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 9ff9045600be..193becfc6345 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -6196,6 +6196,9 @@ let url = mirror://cpan/authors/id/E/ET/ETHER/FCGI-0.78.tar.gz; sha256 = "1cxavhzg4gyw4gl9kirpbdimjr8gk1rjc3pqs3xrnh1gjybld5xa"; }; + postPatch = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' + sed -i '/use IO::File/d' Makefile.PL + ''; }; FCGIClient = buildPerlModule { |