summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-17 02:51:59 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:54 +0300
commite282d36143ea73756da19917fba53614118cc1fd (patch)
treef50f800e5478050419d61c18eee108ebbfe32e73 /pkgs
parentde1ce6a102a53881fffff61b3888babf32320899 (diff)
downloadnixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar.gz
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar.bz2
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar.lz
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar.xz
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.tar.zst
nixpkgs-e282d36143ea73756da19917fba53614118cc1fd.zip
wpa_supplicant_gui: move to qmake4Hook
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/wpa_supplicant/gui.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/wpa_supplicant/gui.nix b/pkgs/os-specific/linux/wpa_supplicant/gui.nix
index 59a3c51c4d6..a75367f0bb0 100644
--- a/pkgs/os-specific/linux/wpa_supplicant/gui.nix
+++ b/pkgs/os-specific/linux/wpa_supplicant/gui.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, qt4, inkscape, wpa_supplicant }:
+{ stdenv, fetchurl, qt4, qmake4Hook, inkscape, wpa_supplicant }:
 
 stdenv.mkDerivation {
   name = "wpa_gui-${wpa_supplicant.version}";
@@ -7,14 +7,13 @@ stdenv.mkDerivation {
 
   buildInputs = [ qt4 ];
 
-  nativeBuildInputs = [ inkscape ];
+  nativeBuildInputs = [ inkscape qmake4Hook ];
 
   prePatch = "cd wpa_supplicant/wpa_gui-qt4";
 
-  configurePhase =
+  preConfigure =
     ''
       lrelease wpa_gui.pro
-      qmake
     '';
 
   # We do not install .xpm icons. First of all, I don't know where they should