From cef0e565e3b983942582ee14867655b69703ba52 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 17 Apr 2016 02:52:24 +0300 Subject: [PATCH] unetbootin: move to qmake4Hook --- pkgs/tools/cd-dvd/unetbootin/default.nix | 8 +++----- 1 file 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 = ''