From f1c2572479265d121d55d9e3270dc1ebfee4aa00 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:58:43 +0200 Subject: [PATCH] pyqt5: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of pyqt5 override the whole configurePhase, so this hook isn't run at all. This fixes the build of pyqt5 and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/development/python-modules/pyqt/5.x.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 795019d0b41..b11e87fe1d9 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -27,6 +27,7 @@ in stdenv.mkDerivation { propagatedBuildInputs = [ sip ]; configurePhase = '' + runHook preConfigure mkdir -p $out lndir ${pythonDBus} $out @@ -44,6 +45,7 @@ in stdenv.mkDerivation { --destdir=$out/lib/${python.libPrefix}/site-packages \ --sipdir=$out/share/sip \ --designer-plugindir=$out/plugins/designer + runHook postConfigure ''; postInstall = ''