From 79bbec095cf2d707602cc64e188a37c6df0b1fbc Mon Sep 17 00:00:00 2001 From: yuqy Date: Sun, 19 May 2024 19:07:04 +0900 Subject: [PATCH] libressl: backport to replace expiring certs This fixes tlstest failure (cherry picked from commit ae9e4dd850b7b7074826914260a0221369efc089) --- pkgs/development/libraries/libressl/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix index 50901cb14975..f1ac178d632a 100644 --- a/pkgs/development/libraries/libressl/default.nix +++ b/pkgs/development/libraries/libressl/default.nix @@ -94,11 +94,25 @@ in { libressl_3_6 = generic { version = "3.6.3"; hash = "sha256-h7G7426e7I0K5fBMg9NrLFsOWBeEx+sIFwJe0p6t6jc="; + patches = [ + (fetchpatch { + url = "https://github.com/libressl/portable/commit/86e4965d7f20c3a6afc41d95590c9f6abb4fe788.patch"; + includes = [ "tests/tlstest.sh" ]; + hash = "sha256-XmmKTvP6+QaWxyGFCX6/gDfME9GqBWSx4X8RH8QbDXA="; + }) + ]; }; libressl_3_7 = generic { version = "3.7.3"; hash = "sha256-eUjIVqkMglvXJotvhWdKjc0lS65C4iF4GyTj+NwzXbM="; + patches = [ + (fetchpatch { + url = "https://github.com/libressl/portable/commit/86e4965d7f20c3a6afc41d95590c9f6abb4fe788.patch"; + includes = [ "tests/tlstest.sh" ]; + hash = "sha256-XmmKTvP6+QaWxyGFCX6/gDfME9GqBWSx4X8RH8QbDXA="; + }) + ]; }; libressl_3_8 = generic {