From e559231384ac6a2d2aefdb3d747d48d5fe530e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 22 Mar 2023 14:00:59 +0100 Subject: [PATCH] perlPackages.AuthenSimplePasswd: don't test the "crypt" algo --- pkgs/top-level/perl-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index e0ca3b733b44c..c8a19041c0615 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1378,6 +1378,10 @@ let url = "mirror://cpan/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-0.6.tar.gz"; hash = "sha256-z1W8NiWe3w/Wr5rSusgbMdxbVqFixmBZDsuWnHwWdLI="; }; + # Our C crypt() doesn't support this weak "crypt" algorithm anymore. + postPatch = '' + sed -e 's/tests => 8/tests => 7/' -e "/'crypt'/d" -i t/04basic.t + ''; propagatedBuildInputs = [ AuthenSimple ]; meta = { description = "Simple Passwd authentication";