cmake_2_8: fix build
This commit is contained in:
parent
e657a87f80
commit
4bad7d67cd
|
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
--replace '"-framework CoreServices"' '""'
|
--replace '"-framework CoreServices"' '""'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ curl expat zlib bzip2 ]
|
buildInputs = [ setupHook curl expat zlib bzip2 ]
|
||||||
++ optional useNcurses ncurses
|
++ optional useNcurses ncurses
|
||||||
++ optional useQt4 qt4;
|
++ optional useQt4 qt4;
|
||||||
|
|
||||||
|
@ -67,7 +67,6 @@ stdenv.mkDerivation rec {
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
preConfigure = with stdenv; ''
|
preConfigure = with stdenv; ''
|
||||||
source $setupHook
|
|
||||||
fixCmakeFiles .
|
fixCmakeFiles .
|
||||||
substituteInPlace Modules/Platform/UnixPaths.cmake \
|
substituteInPlace Modules/Platform/UnixPaths.cmake \
|
||||||
--subst-var-by libc_bin ${getBin cc.libc} \
|
--subst-var-by libc_bin ${getBin cc.libc} \
|
||||||
|
@ -82,7 +81,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = https://cmake.org;
|
homepage = https://cmake.org;
|
||||||
description = "Cross-Platform Makefile Generator";
|
description = "Cross-Platform Makefile Generator";
|
||||||
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
|
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ];
|
maintainers = with stdenv.lib.maintainers; [ xfix ];
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue