pyqt5: run configure hooks
Fixes #17045. Whenever a phase is overridden, the pre- and post-hooks for that phase must be invoked!
This commit is contained in:
parent
6ef6c5a6f6
commit
d130c27c62
@ -27,6 +27,8 @@ in stdenv.mkDerivation {
|
||||
propagatedBuildInputs = [ sip ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
mkdir -p $out
|
||||
lndir ${pythonDBus} $out
|
||||
|
||||
@ -39,11 +41,14 @@ in stdenv.mkDerivation {
|
||||
${python.executable} configure.py -w \
|
||||
--confirm-license \
|
||||
--dbus=$out/include/dbus-1.0 \
|
||||
--qmake=$QMAKE \
|
||||
--no-qml-plugin \
|
||||
--bindir=$out/bin \
|
||||
--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