summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-17 02:52:24 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:55 +0300
commitcef0e565e3b983942582ee14867655b69703ba52 (patch)
tree4185a1078508c940f662268c02c18636162ac664 /pkgs/tools/cd-dvd
parenta3a40c027c1ed3d07ebb76d885e25f95cdfa5e54 (diff)
downloadnixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar.gz
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar.bz2
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar.lz
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar.xz
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.tar.zst
nixpkgs-cef0e565e3b983942582ee14867655b69703ba52.zip
unetbootin: move to qmake4Hook
Diffstat (limited to 'pkgs/tools/cd-dvd')
-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 1234ecd770b..bf8cefd057e 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 = ''