We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8961a95 commit cc0bc41Copy full SHA for cc0bc41
pkgs/games/mindustry/default.nix
@@ -7,6 +7,7 @@
7
, fetchFromGitHub
8
, gradle
9
, jdk17
10
+, zenity
11
12
# for arc
13
, SDL2
@@ -189,6 +190,7 @@ stdenv.mkDerivation {
189
190
mkdir -p $out/bin
191
makeWrapper ${jdk}/bin/java $out/bin/mindustry \
192
--add-flags "-jar $out/share/mindustry.jar" \
193
+ ${lib.optionalString stdenv.isLinux "--suffix PATH : ${lib.makeBinPath [zenity]}"} \
194
--suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libpulseaudio alsa-lib libjack2]} \
195
--set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib/'' + optionalString enableWayland '' \
196
--set SDL_VIDEODRIVER wayland \
0 commit comments