diff --git a/lib/meta.nix b/lib/meta.nix index bc3387646f26..5b1f7ee5ff2d 100644 --- a/lib/meta.nix +++ b/lib/meta.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f590c3efddc2..7b441262d8b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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); };