about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-03-26 10:58:21 +0100
committerAlyssa Ross <hi@alyssa.is>2024-03-27 14:10:00 +0100
commit6589674e6ff65a8cfe0b3bd728422675ab2c89ed (patch)
tree76f097d63cbe6e7f5c68c969081f1ab6d2f615dc /pkgs
parent54ebc398c22b1316deaca891943678d1d0975b5a (diff)
libressl: backport fix for linking static libtls
This fixes e.g. pkgsStatic.catgirl.

Fixes: 449d50ab3606 ("libressl: 3.8.2 -> 3.8.3")
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libressl/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix
index 6ab33b9e4ccfc..eda75bf0b25f5 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=";
+      })
+    ];
   };
 }