From 60898eb064d85b1ab8db4c7e658a3845a6714578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 11 Nov 2012 18:03:35 +0100 Subject: [PATCH] Copy bonobo defs python-rsvg will fail to build if if can't find the bonobo defs files --- pkgs/desktops/gnome-2/bindings/gnome-python/default.nix | 5 +++-- 1 file 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 c65c8b98c6a..83505dc42fc 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 ];