diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-03-15 01:06:55 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-03-15 01:06:55 +0100 |
commit | 579082350c24647dececfef3b58da7348068dcc3 (patch) | |
tree | 5d04d915ea9542516084fbdc00ec092a888ad69d /pkgs/development/python-modules | |
parent | 0037e518b06ac491cc19b6fcbd6e143c28f2d5de (diff) | |
download | nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar.gz nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar.bz2 nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar.lz nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar.xz nixpkgs-579082350c24647dececfef3b58da7348068dcc3.tar.zst nixpkgs-579082350c24647dececfef3b58da7348068dcc3.zip |
pygobject, revert accidental change
I suspect we don't need the postInstall step which moves pygtk.pth to pygobject.pth any more, but I didn't mean to include it in this change set
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pygobject/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pygobject/default.nix b/pkgs/development/python-modules/pygobject/default.nix index d8504540137..8d6a1368d8b 100644 --- a/pkgs/development/python-modules/pygobject/default.nix +++ b/pkgs/development/python-modules/pygobject/default.nix @@ -12,6 +12,14 @@ stdenv.mkDerivation rec { buildInputs = [ python pkgconfig glib ]; + # 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 + # effect, but we leave it in case somebody expects and calls it. + postInstall = '' + mv $out/lib/${python.libPrefix}/site-packages/{pygtk.pth,${name}.pth} + ''; + meta = { homepage = http://live.gnome.org/PyGObject; description = "Python bindings for Glib"; |