-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
mindustry: 126.2 → 140.4 #200743
mindustry: 126.2 → 140.4 #200743
Conversation
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.
Great work, thank you! What about adding yourself to meta.maintainers?
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.
LGTM!
Great that you managed to get this all building! Didn't test (yet), but the diff looks good on a first look. |
I was able to build this and test it successfully on an online server! Unfortunately the audio didnt work. Debugging with: diff --git a/pkgs/games/mindustry/default.nix b/pkgs/games/mindustry/default.nix
index 51d8577caa7..5bad0196007 100644
--- a/pkgs/games/mindustry/default.nix
+++ b/pkgs/games/mindustry/default.nix
@@ -159,6 +161,7 @@ stdenv.mkDerivation rec {
sed -ie "/curl.*glew/{;s#curl -o #cp ${glewSource} #;s# -L http.*\.zip##;}" Arc/backends/backend-sdl/build.gradle
sed -ie "/curl.*sdlmingw/{;s#curl -o #cp ${SDLmingwSource} #;s# -L http.*\.tar.gz##;}" Arc/backends/backend-sdl/build.gradle
+ sed -ie "s#-DWITH_MINIAUDIO#-DWITH_MINIAUDIO -DMA_DEBUG_OUTPUT#g" Arc/arc-core/build.gradle
pushd Mindustry
'' + optionalString enableClient ''
[xxx@xxx:~/projects/nixpkgs]$ We get the following output:
Which suggests it cannot find the right libraries. |
It worked for me, but I use pipewire with pulse, jack, and alsa enabled. What audio server do you use @twitchyliquid64? Pulseaudio I suppose? |
@twitchyliquid64 what happens if add something like this to |
Im just about to get on a train and won't be back till next week so unfortimately cant test - but yes, I use pulse and bringing in libpulse like that at runtime should work! |
I am seeing the exact same issue:
I'll see if adding pulseaudio works for me. I am using pulseaudio at least. Edit: after applying the following patch, it still didn't work for me. The cmdline output of mindustry changed though.
New output:
|
77bb395
to
138be4c
Compare
Thank you for the feedback, @fgaz, @theHedgehog0, @Mindavi, and @twitchyliquid64! I've updated this PR:
|
@GrahamcOfBorg build mindustry-server |
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.
Looks good, let's merge. Just in time for the branch-off too!
I can confirm sounds works for me with this PR! |
Description of changes
This is the big update, releasing the last 1.5 years of development out of beta, with the new planet Erekir: https://store.steampowered.com/news/app/1127400/view/3415444546227810671
Also, get back to using the latest Java and gradle versions (as enabled and required by Anuken/Mindustry#5114 )
Also, eliminate more (maybe the last of?) uses of binaries-not-built-here.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notesThis is follow-up from #198323
FYI:
Mindustry maintainer @fgaz
Other folks that have done mindustry version bumps @maxhbr @Mindavi