diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-11-13 00:38:41 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-19 05:42:15 -0500 |
commit | 4cc1cd851648a7122fcf9751d1f9bdde05d24878 (patch) | |
tree | 9ecc4b4e70cce8941b508d00ec7d5d34e6d7ef12 | |
parent | 196b4863de582d6ea9289e5a8a7a25a53b6bc876 (diff) | |
download | nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar.gz nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar.bz2 nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar.lz nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar.xz nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.tar.zst nixlib-4cc1cd851648a7122fcf9751d1f9bdde05d24878.zip |
cmake-2.8: supports darwin
builds fine, just need to enable to
-rw-r--r-- | pkgs/development/tools/build-managers/cmake/2.8.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/cmake/2.8.nix b/pkgs/development/tools/build-managers/cmake/2.8.nix index b4b2a4210d21..fcf06782e4dd 100644 --- a/pkgs/development/tools/build-managers/cmake/2.8.nix +++ b/pkgs/development/tools/build-managers/cmake/2.8.nix @@ -43,6 +43,11 @@ stdenv.mkDerivation rec { sha256 = "16acmdr27adma7gs9rs0dxdiqppm15vl3vv3agy7y8s94wyh4ybv"; }); + postPatch = '' + substituteInPlace Utilities/cmlibarchive/CMakeLists.txt \ + --replace '"-framework CoreServices"' '""' + ''; + buildInputs = [ curl expat zlib bzip2 ] ++ optional useNcurses ncurses ++ optional useQt4 qt4; @@ -76,7 +81,7 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.cmake.org/; description = "Cross-Platform Makefile Generator"; - platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.linux; + platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix; maintainers = with stdenv.lib.maintainers; [ ]; }; } |