From 01353ba28a62319ee56f4ac719bd4c514948e7a6 Mon Sep 17 00:00:00 2001 From: Frido Friedemann Date: Thu, 19 May 2022 17:29:28 +0200 Subject: [PATCH] add -std=c++14 to CXXFLAGS to fix incompatibility of error handling with C++17 Standard --- pkgs/development/libraries/ucommon/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/ucommon/default.nix b/pkgs/development/libraries/ucommon/default.nix index 7306243bca9..2ecf7729f4b 100644 --- a/pkgs/development/libraries/ucommon/default.nix +++ b/pkgs/development/libraries/ucommon/default.nix @@ -20,6 +20,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; + # use C++14 Standard until error handling code gets updated upstream + CXXFLAGS = [ "-std=c++14" ]; + # disable flaky networking test postPatch = '' substituteInPlace test/stream.cpp \