git.iko.soy/typeable/nixpkgs
on master help sign in
jsoncpp: enable and fix on darwin (#15845)
commit9dd563bb129e8dfc210bd7d80ad499189fe6bf37 authorMatthew Justin Bauer <mjbauer95@gmail.com> dateTue 31 May 2016, 09:59 (11 years ago) parent3ecd527
1 file changed+3
pkgs/development/libraries/jsoncpp/default.nix+3
pkgs/development/libraries/jsoncpp/default.nix+3
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
2828
2929 nativeBuildInputs = [ cmake python ];
3030
31+ CXXFLAGS = "-Wno-shift-negative-value";
32+
3133 cmakeFlags = [
3234 "-DJSONCPP_LIB_BUILD_SHARED=ON"
3335 "-DJSONCPP_LIB_BUILD_STATIC=OFF"
@@ -39,6 +41,7 @@ stdenv.mkDerivation rec {
3941 homepage = https://github.com/open-source-parsers/jsoncpp;
4042 description = "A simple API to manipulate JSON data in C++";
4143 maintainers = with stdenv.lib.maintainers; [ ttuegel page ];
44+ platforms = stdenv.lib.platforms.all;
4245 license = stdenv.lib.licenses.mit;
4346 branch = "1.6";
4447 };