From bb543e1540e0e70180e60285b7a353f0c32dc101 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:25:47 +0200 Subject: [PATCH] iannix: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of iannix override the whole configurePhase, so this hook isn't run at all. This fixes the build of iannix and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/applications/audio/iannix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/iannix/default.nix b/pkgs/applications/audio/iannix/default.nix index b2dde5b5b31..f17abf97521 100644 --- a/pkgs/applications/audio/iannix/default.nix +++ b/pkgs/applications/audio/iannix/default.nix @@ -13,7 +13,11 @@ stdenv.mkDerivation rec { buildInputs = [ alsaLib pkgconfig qt5.qtbase qt5.qtscript ]; - configurePhase = ''qmake PREFIX=/''; + configurePhase = '' + runHook preConfigure + qmake PREFIX=/ + runHook postConfigure + ''; installFlags = [ "INSTALL_ROOT=$(out)" ];