about summary refs log tree commit diff
path: root/pkgs/applications/audio/dfasma
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-15 04:20:15 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-15 05:26:02 +0200
commit4dde716a0510b352abf67ed08902422d9ec3b214 (patch)
treed60d847d767aa832fbb0c99cbdd7762c73ff411c /pkgs/applications/audio/dfasma
parent0fefa9939e5db2057d9e6418cb68946ca2a12721 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/audio/dfasma')
-rw-r--r--pkgs/applications/audio/dfasma/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix
index b2eda29ead5b3..94f20bc543e3f 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;