-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
mesen: init at 2.0.0-unstable-2024-12-25 #301666
Conversation
Result of 1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Building perfectly (albeit a long one as noted). All functionality is working (Saving demos, netplay, debugging tools, etc. What a cool emulator!) Only quirk I've noticed is the 'build date' on the about screen being Jan 1 1980, but not a big deal.
Could this be eligible for the unstable updater? https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/unstable-updater.nix |
Probably not, since this package needs a generated |
What's currently pending for this one? I could definitely use this package for NES debugging, so if there's anything I can help with to move this forwards, please let me know. |
I'm getting this error
|
Yes, sorry about that, I should have probably put the PR into draft. I'm still working on updating to the latest version but I'm having some issues. I'll try to fix this current one for now. |
Updated to the latest commit before update to Avalonia 11.1, which breaks the build (duplicate asset errors and elements just not compiling). I have no idea how to use Avalonia or why it broke, so this is as far as I could go for now. |
6661b6f
to
0056e06
Compare
Now that #340493 is fixed I could update to a later commit more easily. |
ofborg build failed on aarch64-linux
|
d14f1f6
to
54e5a1b
Compare
Rebased, updated to use deps.json and added |
|
453c5aa
to
74e4b12
Compare
To make the package ready for strictDeps: #178468 diff --git a/pkgs/by-name/me/mesen/package.nix b/pkgs/by-name/me/mesen/package.nix
index a714e5e6deea..479a9aed032d 100644
--- a/pkgs/by-name/me/mesen/package.nix
+++ b/pkgs/by-name/me/mesen/package.nix
@@ -28,6 +28,11 @@ buildDotnetModule rec {
./dont-zip-libraries.patch
];
+ postPatch = ''
+ substituteInPlace makefile \
+ --replace-fail 'sdl2-config' '${lib.getExe' (lib.getDev SDL2) "sdl2-config"}'
+ '';
+
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
@@ -52,7 +57,7 @@ buildDotnetModule rec {
# according to upstream, compiling with clang creates a faster binary
passthru.core = clangStdenv.mkDerivation {
pname = "mesen-core";
- inherit version src;
+ inherit version src patches postPatch;
enableParallelBuilding = true; You can add |
Is it not enough to just add |
I am not sure that SDL2 would give you the correct |
Yes, it's fine I think |
Successfully created backport PR for |
Description of changes
Closes #301132
Core build time is ~10mins for me.
I only tested SMB for the NES.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.