Simpler code, to try to use wxGTK without mesa for non-linux.

svn path=/nixpkgs/trunk/; revision=33052
This commit is contained in:
Lluís Batlle i Rossell 2012-03-13 21:56:24 +00:00
parent b3456f8bdd
commit 12cfef03f8

View File

@ -766,7 +766,6 @@ let
gnuplot = callPackage ../tools/graphics/gnuplot {
inherit (gtkLibs) pango;
wxGTK = if stdenv.isLinux then wxGTK else wxGTK.override { withMesa = false; };
texLive = null;
lua = null;
};
@ -4793,6 +4792,7 @@ let
inherit (gtkLibs) gtk;
inherit (gst_all) gstreamer gstPluginsBase;
inherit (gnome) GConf;
withMesa = stdenv.isLinux;
};
wxGTK290 = callPackage ../development/libraries/wxGTK-2.9/2.9.0.nix {
@ -8306,9 +8306,7 @@ let
maxima = callPackage ../applications/science/math/maxima { };
wxmaxima = callPackage ../applications/science/math/wxmaxima {
wxGTK = if stdenv.isLinux then wxGTK else wxGTK.override { withMesa = false; };
};
wxmaxima = callPackage ../applications/science/math/wxmaxima { };
pari = callPackage ../applications/science/math/pari {};