From d663b3df24b709fd972525ab73855843ff35d09d Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 01:24:26 +0200 Subject: [PATCH] qt5.quazip: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of quazip override the whole configurePhase, so this hook isn't run at all. This fixes the build of quazip and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/development/libraries/quazip/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/quazip/default.nix b/pkgs/development/libraries/quazip/default.nix index 4db9d8b4665f..7ef1a9212a14 100644 --- a/pkgs/development/libraries/quazip/default.nix +++ b/pkgs/development/libraries/quazip/default.nix @@ -8,7 +8,11 @@ stdenv.mkDerivation rec { sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq"; }; - configurePhase = "cd quazip && qmake quazip.pro"; + configurePhase = '' + runHook preConfigure + cd quazip && qmake quazip.pro + runHook postConfigure + ''; installFlags = "INSTALL_ROOT=$(out)";