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:
Thomas Tuegel 2016-07-19 12:35:04 -05:00
parent 6ef6c5a6f6
commit d130c27c62

View File

@ -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 = ''