From 3f9b85ecaf7a217f59c1f48f07f3995c8507f313 Mon Sep 17 00:00:00 2001 From: Keshav Kini Date: Fri, 17 Jul 2020 20:51:47 -0700 Subject: [PATCH] perlPackages.FilePid: import Debian patch See: - https://rt.cpan.org/Public/Bug/Display.html?id=18960 - https://sources.debian.org/patches/libfile-pid-perl/1.01-2/missing-pidfile.patch/ --- pkgs/top-level/perl-packages.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 86cc2a29adc2..d8109cb54051 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -7532,6 +7532,11 @@ let url = "mirror://cpan/authors/id/C/CW/CWEST/File-Pid-1.01.tar.gz"; sha256 = "bafeee8fdc96eb06306a0c58bbdb7209b6de45f850e75fdc6b16db576e05e422"; }; + patches = [(fetchpatch { + name = "missing-pidfile.patch"; + url = "https://sources.debian.org/data/main/libf/libfile-pid-perl/1.01-2/debian/patches/missing-pidfile.patch"; + sha256 = "1wvax2qdpfs9mgksnc12dhby9b9w19isp50dc55wd3d741ihh6sl"; + })]; propagatedBuildInputs = [ ClassAccessor ]; meta = { license = stdenv.lib.licenses.free; # Same as Perl