mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
jom: move to qmake4Hook
This commit is contained in:
parent
e282d36143
commit
c48dd664ff
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user