Skip to content

Commit

Permalink
nixos/games: update for RetroArch changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Dec 3, 2024
1 parent 53ecf11 commit 3dd996d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nixos/games/retroarch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ let
cfg = config.nixos.games.retroarch;
finalPkg =
if (cfg.cores == "all") then
pkgs.retroarchFull
pkgs.retroarch-full
else
pkgs.retroarch.override {
cores = lib.pipe pkgs.libretro [
pkgs.retroarch.withCores (
cores:
lib.pipe cores [
(lib.getAttrs cfg.cores)
lib.attrValues
];
};
]
);
in
{
options.nixos.games.retroarch = {
Expand Down

0 comments on commit 3dd996d

Please sign in to comment.