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 ];
|
propagatedBuildInputs = [ sip ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
lndir ${pythonDBus} $out
|
lndir ${pythonDBus} $out
|
||||||
|
|
||||||
@ -39,11 +41,14 @@ in stdenv.mkDerivation {
|
|||||||
${python.executable} configure.py -w \
|
${python.executable} configure.py -w \
|
||||||
--confirm-license \
|
--confirm-license \
|
||||||
--dbus=$out/include/dbus-1.0 \
|
--dbus=$out/include/dbus-1.0 \
|
||||||
|
--qmake=$QMAKE \
|
||||||
--no-qml-plugin \
|
--no-qml-plugin \
|
||||||
--bindir=$out/bin \
|
--bindir=$out/bin \
|
||||||
--destdir=$out/lib/${python.libPrefix}/site-packages \
|
--destdir=$out/lib/${python.libPrefix}/site-packages \
|
||||||
--sipdir=$out/share/sip \
|
--sipdir=$out/share/sip \
|
||||||
--designer-plugindir=$out/plugins/designer
|
--designer-plugindir=$out/plugins/designer
|
||||||
|
|
||||||
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user