about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCillian de Róiste <goibhniu@fsfe.org>2012-11-11 18:03:35 +0100
committerCillian de Róiste <goibhniu@fsfe.org>2012-11-11 18:03:35 +0100
commit60898eb064d85b1ab8db4c7e658a3845a6714578 (patch)
tree33792df67012050c4643caf9858afca1e182d457
parent7c9eebf446adcaf66f265b14a847b9a065e91be5 (diff)
downloadnixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar.gz
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar.bz2
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar.lz
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar.xz
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.tar.zst
nixlib-60898eb064d85b1ab8db4c7e658a3845a6714578.zip
Copy bonobo defs
python-rsvg will fail to build if if can't find the bonobo defs files
-rw-r--r--pkgs/desktops/gnome-2/bindings/gnome-python/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix b/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
index c65c8b98c6ac..83505dc42fc3 100644
--- a/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
+++ b/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
 
   # WAF is probably the biggest crap on this planet, btw i removed the /gtk-2.0 path thingy
   configurePhase = ''
-    sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript 
-    python waf configure --prefix=$out 
+    sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript
+    python waf configure --prefix=$out
   '';
 
   buildPhase = ''
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     python waf install
+    cp bonobo/*.{py,defs} $out/share/pygtk/2.0/defs/
   '';
 
   buildInputs = [ python pkgconfig pygobject pygtk glib gtk GConf libgnome pythonDBus ];