From 9fa8fb1dec426ad79ff67e01f20d831c322d8525 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 01:34:42 +0200 Subject: antimony: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of antimony override the whole configurePhase, so this hook isn't run at all. This fixes the build of antimony and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/applications/graphics/antimony/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/graphics/antimony') diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix index dded423652c..fa9a7e0fdd3 100644 --- a/pkgs/applications/graphics/antimony/default.nix +++ b/pkgs/applications/graphics/antimony/default.nix @@ -32,6 +32,7 @@ in ]; configurePhase = '' + runHook preConfigure export GITREV=${gitRev} export GITBRANCH=${gitBranch} export GITTAG=${gitTag} @@ -39,6 +40,7 @@ in cd qt export sourceRoot=$sourceRoot/qt qmake antimony.pro PREFIX=$out + runHook postConfigure ''; enableParallelBuilding = true; -- cgit 1.4.1