Skip to content

Commit cc0bc41

Browse files
mindustry: add zenity to $PATH
Co-authored-by: Francesco Gazzetta <[email protected]>
1 parent 8961a95 commit cc0bc41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/games/mindustry/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
, fetchFromGitHub
88
, gradle
99
, jdk17
10+
, zenity
1011

1112
# for arc
1213
, SDL2
@@ -189,6 +190,7 @@ stdenv.mkDerivation {
189190
mkdir -p $out/bin
190191
makeWrapper ${jdk}/bin/java $out/bin/mindustry \
191192
--add-flags "-jar $out/share/mindustry.jar" \
193+
${lib.optionalString stdenv.isLinux "--suffix PATH : ${lib.makeBinPath [zenity]}"} \
192194
--suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libpulseaudio alsa-lib libjack2]} \
193195
--set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib/'' + optionalString enableWayland '' \
194196
--set SDL_VIDEODRIVER wayland \

0 commit comments

Comments
 (0)