Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retroarch: update cores #71108

Closed
wants to merge 3 commits into from
Closed

retroarch: update cores #71108

wants to merge 3 commits into from

Conversation

kolbycrouch
Copy link

Motivation for this change

Cores for RetroArch were old and incomplete. Added most missing cores and updated existing ones.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

@matthewbauer
Copy link
Member

Looks good!

@matthewbauer
Copy link
Member

@GrahamcOfBorg build libretro

@kolbycrouch
Copy link
Author

I noticed a build failure during the check for one of the cores, and I've fixed it locally now.

A couple of cores are broken and I forgot to mark them as such.

Should I wait for this to review or submit a new PR and get this one closed?

@aanderse
Copy link
Member

Please amend your commit and continue with this PR.

@kolbycrouch
Copy link
Author

Please amend your commit and continue with this PR.

Alright, I think I did it properly. Hopefully this fixes things.

@aanderse
Copy link
Member

@kolbycrouch I should have been more explicit. At this point can you please squash into a single commit? I'll try to compile these all and test a few in the next couple days.

If anyone else gets around to it before me please comment what you compiled and tested.

@kolbycrouch
Copy link
Author

kolbycrouch commented Oct 21, 2019

@kolbycrouch I should have been more explicit. At this point can you please squash into a single commit? I'll try to compile these all and test a few in the next couple days.

If anyone else gets around to it before me please comment what you compiled and tested.

Sure thing. Sorry I've been gone from my machine all weekend, I'll try to get this done soon.

I have a question before I do though. Is marking cores that fail to build as "broken" the proper method?

I enable all cores via nixpkgs.config.retroarch and doing that causes nixos-rebuild to fail if I enable broken cores.

@aanderse
Copy link
Member

Yeah marking a package that won't compile as broken is what you should do in this scenario. Thanks!

@kolbycrouch
Copy link
Author

Well, I've deleted my old fork and made a new one which apparently isn't the proper method.

Now this PR is referencing an unknown repository.

Is there a way to fix this or must I open a new PR?

@aanderse
Copy link
Member

@kolbycrouch this appears to be your scenario: https://stackoverflow.com/a/53383772

@kolbycrouch
Copy link
Author

@aanderse I did as you suggested. It worked for bringing back my old fork, and I was able to squash the commits. However, github still says it's trying to merge from an unknown repository, and the only solutions for that I've found online were to close the PR and start a new one. Is this what I should do?

@aanderse
Copy link
Member

aanderse commented Nov 2, 2019

@kolbycrouch yeah I don't know and I'm not going to put any time and energy into it. Please go ahead and create a new PR.

Future readers: answers on how to fix this appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants