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:
parent
96bed5b7aa
commit
f1c2572479
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user