about summary refs log tree commit diff
path: root/pkgs/tools/misc/system-config-printer
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-10-20 14:43:19 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-23 15:11:02 +0100
commit95443837443dc5955ff75b03757a2a12796cea9c (patch)
tree1d25127d6f8c092ee2996f349641ebd757dcb401 /pkgs/tools/misc/system-config-printer
parent8d9f1701e6969874b97fc2257c9e30131d82aa78 (diff)
downloadnixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar.gz
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar.bz2
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar.lz
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar.xz
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.tar.zst
nixlib-95443837443dc5955ff75b03757a2a12796cea9c.zip
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.
Diffstat (limited to 'pkgs/tools/misc/system-config-printer')
-rw-r--r--pkgs/tools/misc/system-config-printer/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix
index 72d45c90f106..11d61cfe30f3 100644
--- a/pkgs/tools/misc/system-config-printer/default.nix
+++ b/pkgs/tools/misc/system-config-printer/default.nix
@@ -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"