retroarchFull: use lib.meta.availableOn

This commit is contained in:
Thiago Kenji Okada 2022-01-24 12:41:45 -03:00
parent ebc494b197
commit ed6b342fc3

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);
};