should be the last stage

This commit is contained in:
alsaiduq-lab 2025-04-03 19:24:22 -06:00
parent fe9a07fad0
commit d6fe9e9f5f
6 changed files with 36 additions and 33 deletions

View file

@ -1,12 +1,4 @@
{
pkgs,
inputs,
...
}: let
rpcs3_latest = pkgs.rpcs3.overrideAttrs (oldAttrs: {
src = inputs.rpcs3-latest;
});
in {
{pkgs, ...}: {
home.packages = with pkgs; [
mgba
desmume
@ -18,11 +10,5 @@ in {
retroarch
mednafen
joycond
# 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)
(
if (builtins.tryEval rpcs3_latest).success
then rpcs3_latest
else rpcs3
)
];
}