summary refs log tree commit diff
path: root/pkgs/development/libraries/libressl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libressl/default.nix')
-rw-r--r--pkgs/development/libraries/libressl/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix
index 8ec7b2b87f5f7..82974fe072838 100644
--- a/pkgs/development/libraries/libressl/default.nix
+++ b/pkgs/development/libraries/libressl/default.nix
@@ -92,5 +92,14 @@ in {
   libressl_3_5 = generic {
     version = "3.5.3";
     hash = "sha256-OrXl6u9pziDGsXDuZNeFtCI19I8uYrCV/KXXtmcriyg=";
+
+    patches = [
+      # Fix endianness detection on aarch64-darwin, issue #181187
+      (fetchpatch {
+        name = "fix-endian-header-detection.patch";
+        url = "https://patch-diff.githubusercontent.com/raw/libressl-portable/portable/pull/771.patch";
+        sha256 = "sha256-in5U6+sl0HB9qMAtUL6Py4X2rlv0HsqRMIQhhM1oThE=";
+      })
+    ];
   };
 }