mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
retroarch-free: init
This commit is contained in:
parent
b3cc74f3f8
commit
e981e0a249
@ -1458,10 +1458,24 @@ with pkgs;
|
||||
|
||||
retroarch = retroarch-bare.wrapper { };
|
||||
|
||||
# includes only cores for platform with free licenses
|
||||
retroarch-free = retroarch.withCores (
|
||||
cores:
|
||||
builtins.filter
|
||||
(c:
|
||||
(c ? libretroCore)
|
||||
&& (lib.meta.availableOn stdenv.hostPlatform c)
|
||||
&& (!c.meta.unfree))
|
||||
(builtins.attrValues cores)
|
||||
);
|
||||
|
||||
# includes all cores for platform (including ones with non-free licenses)
|
||||
retroarch-full = retroarch.withCores (
|
||||
cores:
|
||||
builtins.filter
|
||||
(c: (c ? libretroCore) && (lib.meta.availableOn stdenv.hostPlatform c))
|
||||
(c:
|
||||
(c ? libretroCore)
|
||||
&& (lib.meta.availableOn stdenv.hostPlatform c))
|
||||
(builtins.attrValues cores)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user