From a027470a69796efbb488db91310b8fe1556420e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Sun, 1 Nov 2015 17:43:19 +0100 Subject: [PATCH] python-dubs: set pythonPath for wrapper The python.buildEnv wrapper expects that all pythonPackages have a pythonPath set, so we set to a dummy value here. --- pkgs/development/python-modules/dbus/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix index 5bcdc54583db..b56ba6eb22ef 100644 --- a/pkgs/development/python-modules/dbus/default.nix +++ b/pkgs/development/python-modules/dbus/default.nix @@ -15,6 +15,10 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa doCheck = false; # https://bugs.freedesktop.org/show_bug.cgi?id=57140 + # Set empty pythonPath, so that the package is recognized as a python package + # for python.buildEnv + pythonPath = []; + meta = { description = "Python DBus bindings"; license = stdenv.lib.licenses.mit;