about summary refs log tree commit diff
path: root/pkgs/tools/misc/system-config-printer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/system-config-printer/default.nix')
-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"