This commit is contained in:
alsaiduq-lab 2025-04-03 09:07:43 -06:00
parent 62efd21ccb
commit 440506cabf
2 changed files with 15 additions and 2 deletions

View file

@ -1,15 +1,27 @@
{pkgs, ...}: {
{pkgs, ...}: let
rpcs3_latest = pkgs.rpcs3.overrideAttrs (oldAttrs: {
src = builtins.fetchGit {
url = "https://github.com/RPCS3/rpcs3.git";
ref = "master";
};
});
in {
home.packages = with pkgs; [
mgba
desmume
duckstation
pcsx2
rpcs3
ryujinx
mupen64plus
dolphin-emu
retroarch
mednafen
joycond
(
if (builtins.tryEval rpcs3_latest).success
then rpcs3_latest
else rpcs3
)
# uses latest commit, but in case of errors (if there were any in the first place) to fallback to snapshot nix package in case it failed (even if not)
];
}