From 81776365f460730906835057cc7f72dfb594f5a3 Mon Sep 17 00:00:00 2001 From: xeji Date: Thu, 8 Mar 2018 11:42:30 +0100 Subject: [PATCH] rapidjson: fix gcc7 compile error --- pkgs/development/libraries/rapidjson/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix index 5e9a11d42512c..8e6b3b44491e1 100644 --- a/pkgs/development/libraries/rapidjson/default.nix +++ b/pkgs/development/libraries/rapidjson/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig cmake ]; + # detected by gcc7 + NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; + meta = with lib; { description = "Fast JSON parser/generator for C++ with both SAX/DOM style API"; homepage = "http://rapidjson.org/";