diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2013-01-11 16:11:07 +0100 |
---|---|---|
committer | Florian Friesdorf <flo@chaoflow.net> | 2013-01-11 16:11:07 +0100 |
commit | 59879f6496db062a62574735925a61c6c5473e10 (patch) | |
tree | edb68c6eacd92a8fb2841b0de93102c5d5fbb8a1 /pkgs/development | |
parent | e856c72159abb655872bd8d32daf82874cb1d3ee (diff) | |
download | nixlib-59879f6496db062a62574735925a61c6c5473e10.tar nixlib-59879f6496db062a62574735925a61c6c5473e10.tar.gz nixlib-59879f6496db062a62574735925a61c6c5473e10.tar.bz2 nixlib-59879f6496db062a62574735925a61c6c5473e10.tar.lz nixlib-59879f6496db062a62574735925a61c6c5473e10.tar.xz nixlib-59879f6496db062a62574735925a61c6c5473e10.tar.zst nixlib-59879f6496db062a62574735925a61c6c5473e10.zip |
fixup: pygobject rename pth
Diffstat (limited to 'pkgs/development')
-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 5a320cc97ee1..5575243bd9f3 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"; |