Add missing libretro cores#146958
Add missing libretro cores#146958thiagokokada merged 13 commits intoNixOS:masterfrom thiagokokada:add-missing-libretro-cores
Conversation
Sadly the original repository (stenzek/duckstation) is missing the necessary files to build a libretro core, so we need to use the fork instead.
This will allow users to package their own core derivations if they want without necessary submitting to nixpkgs.
There was a problem hiding this comment.
This core never worked as it should: libretro/libretro-core-info#8. And since RetroArch 1.9.13.2 bump, this also doesn't work at all since the lack of core info.
However I am not sure how to deprecate this core correctly. Maybe we can simply remove it since there shouldn't be many people using it anyway and we already broke compatibility in #146714 🤔 ?
This core never worked as intended: libretro/libretro-core-info#8.
|
|
Done. |
The original repository was abandoned.
|
I think that is it for now, opening this PR for review. |
|
Just an explanation on why I am adding those specific cores:
Some cores that I don't think it is worth the addition so I didn't package them:
There are also cores for more obscure targets that I don't care, however we can always add it later if someone is interested. Edit: some more:
|
| "rev": "b8e16159734c2068db0f2f12b11bc16ef55058ce", | ||
| "sha256": "qjp1rEjmDAAB2wXITA3lAS+ERJuZinoneJToYiYRi/w=", | ||
| "rev": "6b9cc418004c01a195c78387752cc99245ba54d5", | ||
| "sha256": "sha256-7nU5fQ8pQLmKy9Swmshkv2oj+HV0oTcqQ93LfNSq1us=", |
There was a problem hiding this comment.
Had to update the hash manually here, since the last update has some git module issues that nix-prefetch-github is having difficult to parse. This is why the hash here is in the new format (I am using nix 2.4).
|
Result of 88 packages built:
|
|
CC @aanderse. |
|
I think branch off for 21.11 already occurred. We should probably backport this, if so. Looks good @thiagokokada 🚀 |
Yeah, I already marked this PR to be backported. If you can review the changes I would be grateful @aanderse. |
|
@aanderse Sorry to bother you, but if possible I would like to merge this PR before the 21.11 release (just to avoid the issue with the So can I get your review here? |
|
Sorry this slipped by me. It looks good to me. Let's ship it! |
|
Successfully created backport PR #147391 for |
Motivation for this change
We are missing some RetroArch cores, so this PR will add some of them.
The idea is not to package everything from upstream though (some of them are even impossible since they're missing the necessary files, e.g.: DuckStation). However I want to package at least some of the more interesting ones.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes