about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorbandithedoge <bandithedoge@protonmail.com>2022-10-03 22:08:30 +0200
committerbandithedoge <bandithedoge@protonmail.com>2022-10-03 22:09:18 +0200
commit128f745ffff126f1c90937f239ef4cfed349c3d9 (patch)
tree22e121862f60ff992e55139fa65c23df981f171d /pkgs/games
parent3e117af149cde4bd6ecb5a585872d15eadf7014d (diff)
gzdoom: fix IWAD selection menu
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/gzdoom/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/games/gzdoom/default.nix b/pkgs/games/gzdoom/default.nix
index c64e3dbe693b0..3eb69fa3c1120 100644
--- a/pkgs/games/gzdoom/default.nix
+++ b/pkgs/games/gzdoom/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, openal, fluidsynth
 , soundfont-fluid, libGL, SDL2, bzip2, zlib, libjpeg, libsndfile, libvpx, mpg123
-, game-music-emu, pkg-config, copyDesktopItems, makeDesktopItem }:
+, game-music-emu, pkg-config, copyDesktopItems, makeDesktopItem, gtk3 }:
 
 let
   zmusic = stdenv.mkDerivation rec {
@@ -43,16 +43,17 @@ let
     nativeBuildInputs = [ cmake makeWrapper pkg-config copyDesktopItems ];
     buildInputs = [
       SDL2
-      libGL
-      openal
-      fluidsynth
       bzip2
-      zlib
+      fluidsynth
+      game-music-emu
+      gtk3
+      libGL
       libjpeg
       libsndfile
       libvpx
       mpg123
-      game-music-emu
+      openal
+      zlib
       zmusic
     ];
 
@@ -65,6 +66,8 @@ let
 
     NIX_CFLAGS_LINK = "-lopenal -lfluidsynth";
 
+    cmakeFlags = [ "-DDYN_GTK=OFF" ];
+
     desktopItems = [
       (makeDesktopItem {
         name = "gzdoom";