vacuum: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:36:53 +03:00
parent a6af80b421
commit 837c573f27

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl
, qt4, openssl
, qt4, qmake4Hook, openssl
, xproto, libX11, libXScrnSaver, scrnsaverproto
, xz, zlib
}:
@ -16,8 +16,10 @@ stdenv.mkDerivation rec {
qt4 openssl xproto libX11 libXScrnSaver scrnsaverproto xz zlib
];
configurePhase = ''
qmake INSTALL_PREFIX=$out -recursive vacuum.pro
nativeBuildInputs = [ qmake4Hook ];
preConfigure = ''
qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
'';
meta = with stdenv.lib; {