djanatyn / ssbm-nix

Nix expressions for Super Smash Bros. Melee players.
31 stars 17 forks source link

slippi-launcher: init at 2.10.5 #39

Closed Anomalocaridid closed 10 months ago

Anomalocaridid commented 12 months ago

Adds a package for the Slippi launcher.

I tried building it from source with yarn, but I ended up wrapping an appimage instead because for some reason it needed to modify the yarn dependencies and I could not figure out how to work around that otherwise.

I took the liberty of adding a Home Manager module in order to declaratively configure Slippi to use the slippi-netplay and slippi-playback packages instead of the versions it usually downloads and updates itself, which do not work in NixOS anyways. I added the other settings so that users would not be locked out of configuring them, as they are stored in the same file as the netplay and playback directory settings.

I also went ahead and fixed #36. But if you would prefer, I could put that in a separate pull request instead. Removed since #42 got to it.

Anomalocaridid commented 11 months ago

Realized I forgot to wrap it to natively use Wayland when $NIXOS_OZONE_WL is set.

Edit: Just to be clear I already resolved it shortly before posting this comment.

Anomalocaridid commented 10 months ago

Sorry, didn't mean to close it. Not sure how I did that on accident.

Anomalocaridid commented 10 months ago

Since #42 solved #36, I removed that part of my PR and fixed the conflicts.

Anomalocaridid commented 10 months ago

Thank you so much!