Merge pull request #156543 from thiagokokada/retroarchFull-use-availableOn

retroarchFull: use lib.meta.availableOn
This commit is contained in:
Anderson Torres 2022-01-24 13:25:44 -03:00 committed by GitHub
commit 641a189dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ rec {
2. (modern) a pattern for the platform `parsed` field.
We can inject these into a patten for the whole of a structured platform,
We can inject these into a pattern for the whole of a structured platform,
and then match that.
*/
platformMatch = platform: elem: let

View file

@ -33482,7 +33482,7 @@ with pkgs;
retroarchFull = retroarch.override {
cores = builtins.filter
# Remove cores not supported on platform
(c: c ? libretroCore && (builtins.elem stdenv.hostPlatform.system c.meta.platforms))
(c: c ? libretroCore && (lib.meta.availableOn stdenv.hostPlatform c))
(builtins.attrValues libretro);
};