From 6589674e6ff65a8cfe0b3bd728422675ab2c89ed Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 26 Mar 2024 10:58:21 +0100 Subject: [PATCH] libressl: backport fix for linking static libtls This fixes e.g. pkgsStatic.catgirl. Fixes: 449d50ab3606 ("libressl: 3.8.2 -> 3.8.3") --- pkgs/development/libraries/libressl/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix index 6ab33b9e4ccf..eda75bf0b25f 100644 --- a/pkgs/development/libraries/libressl/default.nix +++ b/pkgs/development/libraries/libressl/default.nix @@ -113,5 +113,13 @@ in { libressl_3_8 = generic { version = "3.8.3"; hash = "sha256-pl9A4+9uPJRRyDGObyxFTDZ+Z/CcDN4YSXMaTW7McnI="; + + patches = [ + (fetchpatch { + name = "libtls-pkg-config-static.patch"; + url = "https://github.com/libressl/portable/commit/f7a0f40d52b994d0bca0eacd88b39f71e447c5d9.patch"; + hash = "sha256-2ly6lsIdoV/riVqDViFXDP7nkZ/RUatEdiaSudQKtz0="; + }) + ]; }; }