about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorGeorge Huebner <george@feyor.sh>2024-03-17 21:23:37 -0500
committerMauricio Collares <mauricio@collares.org>2024-03-26 19:26:22 +0100
commit8c860b090ac662854bec0135d3549a852448902e (patch)
tree0193381f94b842b4942f5e66aee82171be972e5c /pkgs/development
parentc4e0bff9d7cfeb09839071d7bd18b3e25f8f202e (diff)
linbox: fix clang build
Can be safely reverted after updating to 1.7.1 or beyond
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/linbox/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/linbox/default.nix b/pkgs/development/libraries/linbox/default.nix
index 0997513f5a515..4d0158dbcbe3c 100644
--- a/pkgs/development/libraries/linbox/default.nix
+++ b/pkgs/development/libraries/linbox/default.nix
@@ -1,5 +1,6 @@
 { lib, stdenv
 , fetchFromGitHub
+, fetchpatch
 , autoreconfHook
 , givaro
 , pkg-config
@@ -23,6 +24,13 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-mW84a98KPLqcHMjX3LIYTmVe0ngUdz6RJLpoDaAqKU8=";
   };
 
+  patches = [
+    (fetchpatch {
+      url = "https://github.com/linbox-team/linbox/commit/4be26e9ef0eaf36a9909e5008940e8bf7dc625b6.patch";
+      sha256 = "PX0Tik7blXOV2vHUq92xMxaADkNoNGiax4qrjQyGK6U=";
+    })
+  ];
+
   nativeBuildInputs = [
     autoreconfHook
     pkg-config