Skip to content

Commit

Permalink
retroarch-{bare,free}: use lib instead of builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 24, 2024
1 parent 4d7d92c commit 034ddae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 034ddae

Please sign in to comment.