mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
retroarch-{bare,free}: use lib instead of builtins
This commit is contained in:
parent
60d1565d29
commit
3d616665d6
@ -1461,22 +1461,22 @@ with pkgs;
|
||||
# includes only cores for platform with free licenses
|
||||
retroarch-free = retroarch.withCores (
|
||||
cores:
|
||||
builtins.filter
|
||||
lib.filter
|
||||
(c:
|
||||
(c ? libretroCore)
|
||||
&& (lib.meta.availableOn stdenv.hostPlatform c)
|
||||
&& (!c.meta.unfree))
|
||||
(builtins.attrValues cores)
|
||||
(lib.attrValues cores)
|
||||
);
|
||||
|
||||
# includes all cores for platform (including ones with non-free licenses)
|
||||
retroarch-full = retroarch.withCores (
|
||||
cores:
|
||||
builtins.filter
|
||||
lib.filter
|
||||
(c:
|
||||
(c ? libretroCore)
|
||||
&& (lib.meta.availableOn stdenv.hostPlatform c))
|
||||
(builtins.attrValues cores)
|
||||
(lib.attrValues cores)
|
||||
);
|
||||
|
||||
wrapRetroArch = retroarch-bare.wrapper;
|
||||
|
Loading…
Reference in New Issue
Block a user