qt5.quazip: Fix running of {pre,post}Configure

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

This fixes the build of quazip and it now successfully compiles on my
machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-15 01:24:26 +02:00
parent ab428dce14
commit d663b3df24
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq";
};
configurePhase = "cd quazip && qmake quazip.pro";
configurePhase = ''
runHook preConfigure
cd quazip && qmake quazip.pro
runHook postConfigure
'';
installFlags = "INSTALL_ROOT=$(out)";