summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorJoachim Schiele <js@lastlog.de>2012-07-20 23:27:24 +0000
committerJoachim Schiele <js@lastlog.de>2012-07-20 23:27:24 +0000
commit538b17a791bc38e6cbd16a144832858504ce7da6 (patch)
treec71fe3436792291ee9b8bb3175e7b44f24679b66 /pkgs/desktops
parentc6452f372cb1d22e46cec7dd1c8706d718d98513 (diff)
downloadnixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar.gz
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar.bz2
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar.lz
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar.xz
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.tar.zst
nixpkgs-538b17a791bc38e6cbd16a144832858504ce7da6.zip
fixed most virt-manager issues!
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/gnome-2/bindings/gnome-python/default.nix7
-rw-r--r--pkgs/desktops/gnome-2/default.nix4
2 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix b/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
index 3d47ed56787..c65c8b98c6a 100644
--- a/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
+++ b/pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
@@ -13,9 +13,10 @@ stdenv.mkDerivation rec {
 
   phases = "unpackPhase configurePhase buildPhase installPhase";
 
-  # You should be using WAF instead; see the file INSTALL.WAF
+  # WAF is probably the biggest crap on this planet, btw i removed the /gtk-2.0 path thingy
   configurePhase = ''
-    python waf configure --prefix=$out
+    sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript 
+    python waf configure --prefix=$out 
   '';
 
   buildPhase = ''
@@ -35,4 +36,4 @@ stdenv.mkDerivation rec {
     description = "Python wrapper for gconf";
     maintainers = [ stdenv.lib.maintainers.qknight ];
   };
-}
\ No newline at end of file
+}
diff --git a/pkgs/desktops/gnome-2/default.nix b/pkgs/desktops/gnome-2/default.nix
index 943dbc9a500..36d0860caa5 100644
--- a/pkgs/desktops/gnome-2/default.nix
+++ b/pkgs/desktops/gnome-2/default.nix
@@ -44,6 +44,8 @@
 
   gnome_mime_data = callPackage ./platform/gnome-mime-data { };
 
+  gnome_python = callPackage ./bindings/gnome-python { };
+
   gnome_vfs = callPackage ./platform/gnome-vfs { };
 
   gnome_vfs_monikers = callPackage ./platform/gnome-vfs-monikers { };
@@ -115,6 +117,4 @@
 
   libglademm = callPackage ./bindings/libglademm { };
 
-  gnome_python = callPackage ./bindings/gnome-python { };
-
 }