Skip to content

Commit

Permalink
perlPackages.AuthenSimplePasswd: don't test the "crypt" algo
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Mar 22, 2023
1 parent a973339 commit e559231
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit e559231

Please sign in to comment.