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