diff options
author | Peter Simons <simons@cryp.to> | 2011-03-25 12:55:29 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-03-25 12:55:29 +0000 |
commit | 5ba10a94e1453a46678733a9f14216ce70caf24b (patch) | |
tree | b1021ac828c2c3b30a92646c1c8a7c2d38f8300f /pkgs/development/tools/build-managers | |
parent | 0e5593b0f60aa89e2bc85e9fe7ed26177cf703f4 (diff) |
cmake: add install_name_tool on Darwin to fix the build
svn path=/nixpkgs/trunk/; revision=26511
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r-- | pkgs/development/tools/build-managers/cmake/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix index 3e0b485e62efa..571ce2feeb548 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; |