summary refs log tree commit diff
path: root/pkgs/development/libraries/jsoncpp
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-03-22 17:00:46 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-03-22 17:00:46 -0500
commita910301e18a97d8d9d8a90ab63f957bf949d1e33 (patch)
treecc5c4078cab58bd3879fca7b0c66807e1f7025e7 /pkgs/development/libraries/jsoncpp
parent6a6470b79386c6c8710380fbbe7a665b5f1beee3 (diff)
downloadnixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar.gz
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar.bz2
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar.lz
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar.xz
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.tar.zst
nixpkgs-a910301e18a97d8d9d8a90ab63f957bf949d1e33.zip
make cmake-3.2 the default version
Diffstat (limited to 'pkgs/development/libraries/jsoncpp')
-rw-r--r--pkgs/development/libraries/jsoncpp/1.6.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/jsoncpp/1.6.nix b/pkgs/development/libraries/jsoncpp/1.6.nix
index 69dfc217573..d8b85847975 100644
--- a/pkgs/development/libraries/jsoncpp/1.6.nix
+++ b/pkgs/development/libraries/jsoncpp/1.6.nix
@@ -11,7 +11,14 @@ stdenv.mkDerivation rec {
     sha256 = "0ff1niks3y41gr6z13q9m391na70abqyi9rj4z3y2fz69cwm6sgz";
   };
 
-  nativeBuildInputs = [ cmake python ];
+  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
+    ];
 
   meta = {
     inherit version;