From 46a196d39ae0e2ef7844c209fcb7bdd2c3fa4e9c Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Fri, 13 May 2022 10:40:25 +0200 Subject: [PATCH] libcutl: fix the build Moved back to C++14 where dynamic exception specifications are deprecated but still present. Darwin is marked as broken since another issue seems to be present. ZHF: #172160 --- pkgs/development/libraries/libcutl/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libcutl/default.nix b/pkgs/development/libraries/libcutl/default.nix index ed6aae0f308..dca7a6148f2 100644 --- a/pkgs/development/libraries/libcutl/default.nix +++ b/pkgs/development/libraries/libcutl/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { homepage = "https://codesynthesis.com/projects/libcutl/"; changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${version}"; platforms = platforms.all; + broken = stdenv.isDarwin; maintainers = with maintainers; [ ]; license = licenses.mit; }; @@ -26,4 +27,6 @@ stdenv.mkDerivation rec { buildInputs = [ xercesc ]; enableParallelBuilding = true; + + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; }