From 4dde716a0510b352abf67ed08902422d9ec3b214 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:20:15 +0200 Subject: [PATCH] dfasma: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of dfasma override the whole configurePhase, so this hook isn't run at all. This fixes the build of dfasma and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/applications/audio/dfasma/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix index b2eda29ead5b..94f20bc543e3 100644 --- a/pkgs/applications/audio/dfasma/default.nix +++ b/pkgs/applications/audio/dfasma/default.nix @@ -48,7 +48,9 @@ in stdenv.mkDerivation rec { ''; configurePhase = '' + runHook preConfigure qmake PREFIX=$out PREFIXSHORTCUT=$out dfasma.pro + runHook postConfigure ''; enableParallelBuilding = true;