wpa_supplicant_gui: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov
2016-04-20 18:55:54 +03:00
parent de1ce6a102
commit e282d36143
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, inkscape, wpa_supplicant }: { stdenv, fetchurl, qt4, qmake4Hook, inkscape, wpa_supplicant }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "wpa_gui-${wpa_supplicant.version}"; name = "wpa_gui-${wpa_supplicant.version}";
@@ -7,14 +7,13 @@ stdenv.mkDerivation {
buildInputs = [ qt4 ]; buildInputs = [ qt4 ];
nativeBuildInputs = [ inkscape ]; nativeBuildInputs = [ inkscape qmake4Hook ];
prePatch = "cd wpa_supplicant/wpa_gui-qt4"; prePatch = "cd wpa_supplicant/wpa_gui-qt4";
configurePhase = preConfigure =
'' ''
lrelease wpa_gui.pro lrelease wpa_gui.pro
qmake
''; '';
# We do not install .xpm icons. First of all, I don't know where they should # We do not install .xpm icons. First of all, I don't know where they should