eden: init at 0.1.1#485097
Conversation
Signed-off-by: Marcin Serwin <[email protected]>
Signed-off-by: Marcin Serwin <[email protected]>
043b068 to
b917123
Compare
winterqt
left a comment
There was a problem hiding this comment.
Hard defer to @NixOS/nixpkgs-core.
|
Dynamic and oaknut at least in my understanding is used for arm devices (at least they are in citron) so it might be possible to get the package running for darwin or linux arm devices. |
|
DMCA wise I think we're OK, given AFAICT the forks have removed the offending code, diff looks OK, will defer to nixpkgs-core as a matter of policy. |
Dynarmic is always necessary because it's used to emulate Switch CPU
I've actually built it on aarch64-linux but it segfaults when trying to launch anything. Upstream publishes experimental macOS builds so it's probably possible if someone is interested. |
b917123 to
d064541
Compare
manuelVo
left a comment
There was a problem hiding this comment.
Well that's a coincidence; I've spent the last few days building that same package too. I'm just leaving my two cents on what I'd have done differently. Feel free to implement or ignore my suggestions as you see fit :)
|
|
||
| (lib.cmakeFeature "TITLE_BAR_FORMAT_IDLE" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}") | ||
| (lib.cmakeFeature "TITLE_BAR_FORMAT_RUNNING" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}") | ||
| ]; |
There was a problem hiding this comment.
Eden and dynarmic have a cmake flag to enable LTO; I suppose enabling that would be good for a rather performance critical emulator. At least this NUR-Package claims it's worth it: https://github.com/nix-community/nur-combined/blob/main/repos/kira-bruneau/pkgs/by-name/ed/eden/package.nix#L136
There was a problem hiding this comment.
This comment was probably carried over from the original yuzu recipe:
nixpkgs/pkgs/applications/emulators/yuzu/mainline.nix
Lines 104 to 105 in 1cba047
I've removed it since it was slightly discouraged by the current upstream, see https://git.eden-emu.dev/eden-emu/eden/src/tag/v0.1.0/docs/Options.md#options. I'm fine with enabling it if someone checks that it's still relevant.
There was a problem hiding this comment.
Well it does say not recommended on Windows and that UNIX should use thin, is there a way to use thin?
There was a problem hiding this comment.
The flag was refactored and the upstream CI now builds with LTO both on linux and windows so I will enable it once 0.2.0 is released.
Signed-off-by: Marcin Serwin <[email protected]>
Signed-off-by: Marcin Serwin <[email protected]>
Signed-off-by: Marcin Serwin <[email protected]>
d064541 to
1958902
Compare
|
No objections from the core team; see #482846 (comment). |
|
1958902 to
84d538a
Compare
Signed-off-by: Marcin Serwin <[email protected]>
84d538a to
8c40c04
Compare
|
Since opening this PR two relevant things happened:
In my opinion, packaging Eden is still OK but posting for visibility in case you want to reconsider your approvals. |
It's been nearly 2 years since Yuzu was dropped from nixpkgs and I think that the dust has settled a bit. The most active forks seem to be Citron and Eden, this PR packages the latter.
Resurrects: #406630
Alternative(?) to: #482846
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.