-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
melonDS: init at 0.8.3 #72209
melonDS: init at 0.8.3 #72209
Conversation
buildInputs = [ SDL2 gtk3 curl libpcap ]; | ||
|
||
postInstall = '' | ||
install -Dm644 romlist.bin "$out/share/melonDS/romlist.bin" |
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.
This file is needed for saving to work right, but there's currently no way to set its path without adding a patch. I include it here so that users can symlink it into their directory along with the other binaries required.
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.
https://nixos.org/nixpkgs/manual/#sec-patches
You can include a nixpkgs-specific patch in this directory too if you think that would be useful/better for users. If it's not nixpkgs specific then it's preferred you submit the patch to upstream if possible. Because keep in mind as maintainer you would be expected to maintain any patch files you include.
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.
I'm going to work on this upstream when I have time. Currently upstream makes a lot of assumptions which would make a patch a bit unclean.
|
@@ -0,0 +1,29 @@ | |||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, gtk3, curl, libpcap }: | |||
|
|||
stdenv.mkDerivation { |
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.
stdenv.mkDerivation { | |
stdenv.mkDerivation rec { |
Forgot you need this here.
I never actually figured out what |
Thank you for your contributions.
|
Motivation for this change
melonDS is a useful DS emulator. It's still a WIP, but it is compatible with some games. I used the release version, although the git version has better compatibility, I'll update this when the next version comes out
Things done
Create a new package for the melonDS emulator
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
That's me