From 45e9207c4cef6d9f869ced8b26c6e9fbfa63c96b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 14 Mar 2012 17:45:13 +0000 Subject: [PATCH] all-packages.nix: use mesaPlatforms list to determine whether wxGTX should be built with OpenGL support or not svn path=/nixpkgs/trunk/; revision=33070 --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ece79f43388..e6ea1c59102 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4795,19 +4795,21 @@ let inherit (gtkLibs) gtk; inherit (gst_all) gstreamer gstPluginsBase; inherit (gnome) GConf; - withMesa = stdenv.isLinux; + withMesa = lib.elem system lib.platforms.mesaPlatforms; }; wxGTK290 = callPackage ../development/libraries/wxGTK-2.9/2.9.0.nix { inherit (gtkLibs) gtk; inherit (gst_all) gstreamer gstPluginsBase; inherit (gnome) GConf; + withMesa = lib.elem system lib.platforms.mesaPlatforms; }; wxGTK291 = callPackage ../development/libraries/wxGTK-2.9/2.9.1.nix { inherit (gtkLibs) gtk; inherit (gst_all) gstreamer gstPluginsBase; inherit (gnome) GConf; + withMesa = lib.elem system lib.platforms.mesaPlatforms; }; wtk = callPackage ../development/libraries/wtk { };