forked from mirrors/nixpkgs
retroarchFull: remove cores not supported on platform
This should allow building retroarchFull in more platforms (e.g.: aarch64-linux).
This commit is contained in:
parent
2ac298e45b
commit
1b79b5bb0a
|
@ -33426,7 +33426,10 @@ with pkgs;
|
|||
retroarch = wrapRetroArch { retroarch = retroarchBare; };
|
||||
|
||||
retroarchFull = retroarch.override {
|
||||
cores = builtins.filter (c: c ? libretroCore) (builtins.attrValues libretro);
|
||||
cores = builtins.filter
|
||||
# Remove cores not supported on platform
|
||||
(c: c ? libretroCore && (builtins.elem stdenv.hostPlatform.system c.meta.platforms))
|
||||
(builtins.attrValues libretro);
|
||||
};
|
||||
|
||||
libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix {
|
||||
|
|
Loading…
Reference in a new issue