nixpkgs/pkgs/applications/emulators/retroarch
2024-11-22 09:53:01 +00:00
..
cores libretro: add 0-prefix before version 2024-11-22 09:53:01 +00:00
cores.nix libretro.cores: clean-up, remove update_cores.py script 2024-11-22 09:53:01 +00:00
default.nix Added wayland-scanner build input to retroarch 2024-10-27 20:52:49 +13:00
kodi-advanced-launchers.nix
libretro-core-info.nix libretro-core-info: 1.18.0 -> 1.19.0 2024-05-31 19:23:19 +00:00
mkLibretroCore.nix libretro.cores: clean-up, remove update_cores.py script 2024-11-22 09:53:01 +00:00
README.md libretro: update README.md 2024-11-22 09:53:01 +00:00
retroarch-assets.nix retroarch-assets: 1.19.0-unstable-2024-09-22 -> 1.19.0-unstable-2024-10-19 2024-11-18 09:40:31 +00:00
retroarch-joypad-autoconfig.nix retroarch-joypad-autoconfig: 1.18.1 -> 1.19.0 2024-06-03 19:24:18 +00:00
wrapper.nix retroarchBare: 1.16.0.3 -> 1.17.0 2024-02-04 18:58:11 +00:00

Libretro

libretro cores and related packages.

Adding new cores

The basic steps to add a new core are:

  1. Add a new core using mkLibretroCore function (use one of the existing files as an example)
  2. Add your new core to default.nix file
  3. Try to build your core with nix-build -A libretro.<core>

Using RetroArch with cores

To create a custom RetroArch derivation with the cores you want (instead of using retroarchFull that includes all cores), you can use .override like this:

{ pkgs, ... }:

let
  retroarchWithCores = (pkgs.retroarch.override {
    cores = with pkgs.libretro; [
      bsnes
      mgba
      quicknes
    ];
  });
in
{
  environment.systemPackages = [
    retroarchWithCores
  ];
}