pyqt5: Fix running of {pre,post}Configure

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

This fixes the build of pyqt5 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:58:43 +02:00
parent 96bed5b7aa
commit f1c2572479

View File

@@ -27,6 +27,7 @@ in stdenv.mkDerivation {
propagatedBuildInputs = [ sip ];
configurePhase = ''
runHook preConfigure
mkdir -p $out
lndir ${pythonDBus} $out
@@ -44,6 +45,7 @@ in stdenv.mkDerivation {
--destdir=$out/lib/${python.libPrefix}/site-packages \
--sipdir=$out/share/sip \
--designer-plugindir=$out/plugins/designer
runHook postConfigure
'';
postInstall = ''