diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix index 6a58550e7c5..77a52990646 100644 --- a/pkgs/development/python-modules/pygobject/3.nix +++ b/pkgs/development/python-modules/pygobject/3.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ python pkgconfig glib gobjectIntrospection ]; propagatedBuildInputs = [ pycairo cairo ]; + passthru.pythonPath = []; + meta = { homepage = http://live.gnome.org/PyGObject; description = "Python bindings for Glib"; diff --git a/pkgs/development/python-modules/pygobject/default.nix b/pkgs/development/python-modules/pygobject/default.nix index fb2df329fbc..b5cad09d9e1 100644 --- a/pkgs/development/python-modules/pygobject/default.nix +++ b/pkgs/development/python-modules/pygobject/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { buildInputs = [ python pkgconfig glib ]; + passthru.pythonPath = []; + # in a "normal" setup, pygobject and pygtk are installed into the # same site-packages: we need a pth file for both. pygtk.py would be # used to select a specific version, in our setup it should have no