From 78f3f7790b40b870c43ff3b05cb278e8718be55f Mon Sep 17 00:00:00 2001 From: Stig Palmquist Date: Wed, 31 Aug 2022 16:05:42 +0200 Subject: [PATCH] perlPackages.IOAsyncSSL: fix test Apply patch from Debian to fix test compatibility with OpenSSL 3 --- pkgs/top-level/perl-packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 45c3ee62c530a..efb6c91d7f28b 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -12003,6 +12003,14 @@ let url = "mirror://cpan/authors/id/P/PE/PEVANS/IO-Async-SSL-0.23.tar.gz"; hash = "sha256-0vyuFuJ+F6yjkDpK1aK/L7wmjQZRzn8ARabQVG9YTy4="; }; + patches = [ + (fetchpatch { + # Fixes test compatibility with OpenSSL 3 + url = "https://sources.debian.org/data/main/libi/libio-async-ssl-perl/0.23-1/debian/patches/upgrade-error-match.patch"; + hash = "sha256-RK36nVba203I9awZtHiU7jwhCV7U8Gw6wnbs3e9Hbjk="; + name = "IO-Async-SSL-upgrade-error-match.patch"; + }) + ]; buildInputs = [ TestIdentity ]; propagatedBuildInputs = [ Future IOAsync IOSocketSSL ]; meta = {