Merge pull request #156543 from thiagokokada/retroarchFull-use-availableOn
retroarchFull: use lib.meta.availableOn
This commit is contained in:
commit
641a189dd9
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue