From d130c27c62d39348d1eda5c580072c7d9e826253 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 19 Jul 2016 12:35:04 -0500 Subject: [PATCH] pyqt5: run configure hooks Fixes #17045. Whenever a phase is overridden, the pre- and post-hooks for that phase must be invoked! --- pkgs/development/python-modules/pyqt/5.x.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 71fb5cb36570..7ec89ffd7eec 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -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 = ''