From 256394be60fb95a2fd7cf03b66388cba15da0203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 11 Aug 2016 17:26:25 +0200 Subject: [PATCH] pyqt: propagate python for nix-shell --- pkgs/development/python-modules/pyqt/4.x.nix | 4 ++-- pkgs/development/python-modules/pyqt/5.x.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyqt/4.x.nix b/pkgs/development/python-modules/pyqt/4.x.nix index b2d5b93d9f78..746cc747d72d 100644 --- a/pkgs/development/python-modules/pyqt/4.x.nix +++ b/pkgs/development/python-modules/pyqt/4.x.nix @@ -28,9 +28,9 @@ stdenv.mkDerivation { ${python.executable} configure.py $configureFlags "''${configureFlagsArray[@]}" ''; - buildInputs = [ python pkgconfig makeWrapper qt4 lndir ]; + buildInputs = [ pkgconfig makeWrapper qt4 lndir ]; - propagatedBuildInputs = [ pythonPackages.sip_4_16 ]; + propagatedBuildInputs = [ pythonPackages.sip_4_16 python ]; postInstall = '' for i in $out/bin/*; do diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 7ec89ffd7eec..69fb6e266ea5 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -20,11 +20,11 @@ in stdenv.mkDerivation { }; buildInputs = [ - python pkgconfig makeWrapper lndir + pkgconfig makeWrapper lndir qtbase qtsvg qtwebkit qmakeHook ]; - propagatedBuildInputs = [ sip ]; + propagatedBuildInputs = [ sip python ]; configurePhase = '' runHook preConfigure