summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/unetbootin
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/cd-dvd/unetbootin')
-rw-r--r--pkgs/tools/cd-dvd/unetbootin/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/tools/cd-dvd/unetbootin/default.nix b/pkgs/tools/cd-dvd/unetbootin/default.nix
index 1234ecd770bb..bf8cefd057ef 100644
--- a/pkgs/tools/cd-dvd/unetbootin/default.nix
+++ b/pkgs/tools/cd-dvd/unetbootin/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which
+{ stdenv, fetchurl, makeWrapper, qt4, utillinux, coreutils, which, qmake4Hook
 , p7zip, mtools, syslinux }:
 
 stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
 
   sourceRoot = ".";
 
-  buildInputs = [ makeWrapper qt4 ];
+  buildInputs = [ makeWrapper qt4 qmake4Hook ];
 
   # Lots of nice hard-coded paths...
   postUnpack = ''
@@ -30,11 +30,9 @@ stdenv.mkDerivation rec {
       --replace /usr/bin $out/bin
   '';
 
-  buildPhase = ''
+  preConfigure = ''
     lupdate unetbootin.pro
     lrelease unetbootin.pro
-    qmake
-    make
   '';
 
   installPhase = ''