system-config-printer: recurse into python dependencies

pythonPath is used to create the eventual wrappers. It does not recurse
into the Python dependencies, which means e.g. requests doesn't haven
its dependencies.
This commit is contained in:
Frederik Rietdijk 2017-10-20 14:43:19 +02:00
parent 8d9f1701e6
commit 9544383744

View File

@ -28,8 +28,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ wrapGAppsHook ];
pythonPath = with pythonPackages;
[ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
pythonPath = with pythonPackages; requiredPythonModules [ pycups pycurl dbus-python pygobject3 requests pycairo pysmbc ];
configureFlags =
[ "--with-udev-rules"