jom: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:52:09 +03:00
parent e282d36143
commit c48dd664ff

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, qt48, flex, cmake }:
{ stdenv, fetchgit, qt48, qmake4Hook, flex }:
# At the time of committing this, the expression fails for me to cross-build in
# both mingw32 and mingw64.
@ -13,12 +13,9 @@ stdenv.mkDerivation {
};
buildInputs = [ qt48 ];
nativeBuildInputs = [ flex /*cmake*/ ];
nativeBuildInputs = [ flex qmake4Hook ];
QTDIR = qt48;
configurePhase = ''
qmake PREFIX=$out
'';
crossAttrs = {
# cmakeFlags = "-DWIN32=1 -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_RC_COMPILER=${stdenv.cross.config}-windres";