diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-05-13 18:16:22 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-05-13 18:17:26 +0200 |
commit | 26f17ee091248b4ead62f78a969f94e1230f4588 (patch) | |
tree | 014f8844210225e75bb5b2c590c28715dd208422 /pkgs/development/libraries/jsoncpp | |
parent | eb5c1616401ff78509ee707a060efe738f5378b1 (diff) | |
download | nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar.gz nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar.bz2 nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar.lz nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar.xz nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.tar.zst nixpkgs-26f17ee091248b4ead62f78a969f94e1230f4588.zip |
cmake: Get rid of circular dependency
Also, don't install static libraries in jsoncpp.
Diffstat (limited to 'pkgs/development/libraries/jsoncpp')
-rw-r--r-- | pkgs/development/libraries/jsoncpp/default.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/libraries/jsoncpp/default.nix b/pkgs/development/libraries/jsoncpp/default.nix index 07563364e34..357ba257c24 100644 --- a/pkgs/development/libraries/jsoncpp/default.nix +++ b/pkgs/development/libraries/jsoncpp/default.nix @@ -20,18 +20,14 @@ stdenv.mkDerivation rec { export sourceRoot=${src.name} ''; - nativeBuildInputs = [ - # cmake can be built with the system jsoncpp, or its own bundled version. - # Obviously we cannot build it against the system jsoncpp that doesn't yet exist, so - # we make a bootstrapping build with the bundled version. - (cmake.override { jsoncpp = null; }) - python - ]; + nativeBuildInputs = [ cmake python ]; cmakeFlags = [ "-DJSONCPP_WITH_CMAKE_PACKAGE=1" ]; + postInstall = "rm $out/lib/*.a"; + meta = { inherit version; homepage = https://github.com/open-source-parsers/jsoncpp; |