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 <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2016-04-15 04:49:56 +02:00
parent 9cfc8d94bb
commit 25382a37e3

View File

@@ -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; {