Skip to content

eden: init at 0.1.1#485097

Merged
K900 merged 7 commits intoNixOS:masterfrom
marcin-serwin:push-sqlwzolwqmon
Feb 18, 2026
Merged

eden: init at 0.1.1#485097
K900 merged 7 commits intoNixOS:masterfrom
marcin-serwin:push-sqlwzolwqmon

Conversation

@marcin-serwin
Copy link
Copy Markdown
Contributor

@marcin-serwin marcin-serwin commented Jan 29, 2026

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

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Copy link
Copy Markdown
Member

@winterqt winterqt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard defer to @NixOS/nixpkgs-core.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Jan 29, 2026
@samemrecebi
Copy link
Copy Markdown
Contributor

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.

@K900
Copy link
Copy Markdown
Contributor

K900 commented Jan 30, 2026

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.

@marcin-serwin
Copy link
Copy Markdown
Contributor Author

Dynamic and oaknut at least in my understanding is used for arm devices

Dynarmic is always necessary because it's used to emulate Switch CPU

it might be possible to get the package running for darwin or linux arm devices.

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.

@marcin-serwin marcin-serwin changed the title eden: init at 0.1.0 eden: init at 0.1.1 Feb 1, 2026
Copy link
Copy Markdown

@manuelVo manuelVo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 :)

Comment thread pkgs/by-name/ed/eden/package.nix Outdated

(lib.cmakeFeature "TITLE_BAR_FORMAT_IDLE" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}")
(lib.cmakeFeature "TITLE_BAR_FORMAT_RUNNING" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}")
];
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was probably carried over from the original yuzu recipe:

# actually has a noticeable performance impact
"-DYUZU_ENABLE_LTO=ON"

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well it does say not recommended on Windows and that UNIX should use thin, is there a way to use thin?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread pkgs/by-name/ed/eden/package.nix
Comment thread pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix
@alyssais
Copy link
Copy Markdown
Member

No objections from the core team; see #482846 (comment).

@alyssais alyssais requested a review from winterqt February 10, 2026 09:55
@pbsbot
Copy link
Copy Markdown

pbsbot commented Feb 10, 2026

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 485097
Commit: 195890227e3d5508e7108c1d235cce7b7c470a4c


x86_64-linux

✅ 6 packages built:
  • azahar
  • dynarmic
  • eden
  • mcl-cpp-utility-lib
  • oaknut
  • sirit

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 10, 2026
Signed-off-by: Marcin Serwin <[email protected]>
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Feb 15, 2026
@marcin-serwin
Copy link
Copy Markdown
Contributor Author

marcin-serwin commented Feb 17, 2026

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.

@K900 K900 enabled auto-merge February 18, 2026 08:48
@K900 K900 dismissed winterqt’s stale review February 18, 2026 08:48

Approved by core

@K900 K900 added this pull request to the merge queue Feb 18, 2026
Merged via the queue into NixOS:master with commit bff8524 Feb 18, 2026
31 of 33 checks passed
@nyabinary nyabinary mentioned this pull request Feb 19, 2026
13 tasks
@marcin-serwin marcin-serwin deleted the push-sqlwzolwqmon branch February 21, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants