From 25382a37e38d92113ae671f0f2d6f1be9045015e Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:49:56 +0200 Subject: [PATCH] accounts-qt: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of accounts-qt override the whole configurePhase, so this hook isn't run at all. This fixes the build of accounts-qt and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/development/libraries/accounts-qt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix index e2e5f079606..e82d37f1d3c 100644 --- a/pkgs/development/libraries/accounts-qt/default.nix +++ b/pkgs/development/libraries/accounts-qt/default.nix @@ -15,7 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ doxygen pkgconfig ]; configurePhase = '' + runHook preConfigure qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake + runHook postConfigure ''; meta = with stdenv.lib; {