RetroArch: Difference between revisions
Update installation section |
Provide example for the retroarch.withCores interface |
||
Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
After NixOS 24.11, the RetroArch derivation was refactored, and the interface is now <code>retroarch.withCores</code>. | After NixOS 24.11, the RetroArch derivation was refactored, and the interface is now <code>retroarch.withCores</code>:<syntaxhighlight lang="nix"> | ||
environment.systemPackages = with pkgs; [ | |||
(retroarch.withCores (cores: with cores; [ | |||
genesis-plus-gx | |||
snes9x | |||
beetle-psx-hw | |||
])) | |||
]; | |||
</syntaxhighlight> | |||
== Gotchas == | == Gotchas == |