diff --git a/pkgs/development/libraries/jsoncpp/default.nix b/pkgs/development/libraries/jsoncpp/default.nix index 923d8af59bf..53df8d6e7cf 100644 --- a/pkgs/development/libraries/jsoncpp/default.nix +++ b/pkgs/development/libraries/jsoncpp/default.nix @@ -28,6 +28,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake python ]; + CXXFLAGS = "-Wno-shift-negative-value"; + cmakeFlags = [ "-DJSONCPP_LIB_BUILD_SHARED=ON" "-DJSONCPP_LIB_BUILD_STATIC=OFF" @@ -39,6 +41,7 @@ stdenv.mkDerivation rec { homepage = https://github.com/open-source-parsers/jsoncpp; description = "A simple API to manipulate JSON data in C++"; maintainers = with stdenv.lib.maintainers; [ ttuegel page ]; + platforms = stdenv.lib.platforms.all; license = stdenv.lib.licenses.mit; branch = "1.6"; };