cutegram: Fix running of {pre,post}Configure

Commit 0055c6a introduced a new preConfigure hook that sets the right
qmake path. Unfortunately the mkDerivation attributes of cutegram
override the whole configurePhase, so this hook isn't run at all.

This fixes the build of cutegram 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:06:43 +02:00
parent c275fc610e
commit 7f4ab1cb72
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -24,7 +24,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
configurePhase = "qmake -r PREFIX=$out";
configurePhase = ''
runHook preConfigure
qmake -r PREFIX=$out
runHook postConfigure
'';
fixupPhase = ''
wrapQtProgram $out/bin/cutegram \