From 742101bf8a956a875cc69936afd944a81d8683e3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 26 Oct 2021 11:37:52 +0000 Subject: [PATCH] perlPackages.libnet: fix Net/libnet.cfg determinism. (#142876) Co-authored-by: Sandro --- pkgs/top-level/perl-packages.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index eb24409e066b..70b272392899 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -11776,6 +11776,13 @@ let url = "mirror://cpan/authors/id/S/SH/SHAY/libnet-3.12.tar.gz"; sha256 = "1px35q9qchzd7rxqldj87vbrall8v31blidhmh0d25d5hyq9lw25"; }; + patches = [ + (fetchpatch { + name = "deterministic-libnet.cfg"; + url = "https://github.com/steve-m-hay/perl-libnet/commit/7d076c4352f67ee4ed64092cfad3963a2321bd53.patch"; + sha256 = "0pg9w2m08janqn5nrp4x9w5hbcsyxz87hfskd21zzfrzjk8z28qv"; + }) + ]; meta = { description = "Collection of network protocol modules"; license = with lib.licenses; [ artistic1 gpl1Plus ];