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 ]; 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 = ''