From fcc76325ef2eeb9d87a9cfd8b454a0c47b804943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 3 Sep 2016 16:53:10 +0200 Subject: [PATCH] pyqt*: fixup build to close #18250 I don't know why the builder uses `lndir ${dbus-python} $out`, but this commit should work around the problem caused by dbus-python starting to propagate some inputs. --- pkgs/development/python-modules/pyqt/4.x.nix | 1 + pkgs/development/python-modules/pyqt/5.x.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pyqt/4.x.nix b/pkgs/development/python-modules/pyqt/4.x.nix index 2328894d2a30..5ffbd19228cf 100644 --- a/pkgs/development/python-modules/pyqt/4.x.nix +++ b/pkgs/development/python-modules/pyqt/4.x.nix @@ -14,6 +14,7 @@ in mkPythonDerivation { configurePhase = '' mkdir -p $out lndir ${dbus-python} $out + rm -rf "$out/nix-support" export PYTHONPATH=$PYTHONPATH:$out/lib/${python.libPrefix}/site-packages diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 2b54308e3f02..3edf7e6e170b 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -32,6 +32,7 @@ in mkPythonDerivation { mkdir -p $out lndir ${dbus-python} $out + rm -rf "$out/nix-support" export PYTHONPATH=$PYTHONPATH:$out/lib/${python.libPrefix}/site-packages