From 69c71fc6835785ffef9e5ebe05abf4485ee3819c Mon Sep 17 00:00:00 2001 From: George Huebner Date: Thu, 14 Mar 2024 10:05:30 -0400 Subject: [PATCH] givaro: fix clang build Usage of `std::bool_constant` prevents compilation using Clang; see https://github.com/linbox-team/givaro/issues/225 --- pkgs/development/libraries/givaro/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/givaro/default.nix b/pkgs/development/libraries/givaro/default.nix index a7b1eaa43831..aca83ec4b8d6 100644 --- a/pkgs/development/libraries/givaro/default.nix +++ b/pkgs/development/libraries/givaro/default.nix @@ -25,6 +25,11 @@ stdenv.mkDerivation rec { url = "https://github.com/linbox-team/givaro/commit/c7744bb133496cd7ac04688f345646d505e1bf52.patch"; hash = "sha256-aAA5o8Va10v0Pqgcpx7qM0TAZiNQgXoR6N9xecj7tDA="; }) + (fetchpatch { + name = "clang-16.patch"; + url = "https://github.com/linbox-team/givaro/commit/a81d44b3b57c275bcb04ab00db79be02561deaa2.patch"; + hash = "sha256-sSk+VWffoEjZRTJcHRISLHPyW6yuvI1u8knBOfxNUIE="; + }) ]; enableParallelBuilding = true;