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:
parent
e979e478a4
commit
24d9f8b4e2
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user