From 5ba10a94e1453a46678733a9f14216ce70caf24b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 25 Mar 2011 12:55:29 +0000 Subject: [PATCH] cmake: add install_name_tool on Darwin to fix the build svn path=/nixpkgs/trunk/; revision=26511 --- pkgs/development/tools/build-managers/cmake/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix index 3e0b485e62e..571ce2feeb5 100644 --- a/pkgs/development/tools/build-managers/cmake/default.nix +++ b/pkgs/development/tools/build-managers/cmake/default.nix @@ -1,5 +1,6 @@ {fetchurl, stdenv, replace, curl, expat, zlib, bzip2, libarchive -, useNcurses ? false, ncurses, useQt4 ? false, qt4}: +, useNcurses ? false, ncurses, useQt4 ? false, qt4 +, darwinInstallNameToolUtility}: let os = stdenv.lib.optionalString; @@ -19,6 +20,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ curl expat zlib bzip2 libarchive ] + ++ optional stdenv.isDarwin darwinInstallNameToolUtility ++ optional useNcurses ncurses ++ optional useQt4 qt4;