pkgs/top-level/all-packages.nix: implement 'mesaSupported' attribute on top of mesaPlatforms

Thanks to Florian Friesdorf for pointing out the inconsistency in these attributes.
This commit is contained in:
Peter Simons 2012-12-06 11:28:23 +01:00
parent e979e478a4
commit 24d9f8b4e2

View file

@ -4508,10 +4508,7 @@ let
# failed to build
mediastreamer = callPackage ../development/libraries/mediastreamer { };
mesaSupported =
system == "i686-linux" ||
system == "x86_64-linux" ||
system == "x86_64-darwin";
mesaSupported = lib.elem system lib.platforms.mesaPlatforms;
mesa = callPackage ../development/libraries/mesa { };