about summary refs log tree commit diff
path: root/pkgs/games/ecwolf
diff options
context:
space:
mode:
authorJayman2000 <jason@jasonyundt.email>2023-01-27 06:56:42 -0500
committerGitHub <noreply@github.com>2023-01-27 12:56:42 +0100
commit8d6a0e96583ca8fa13ae983406753acfb3c52755 (patch)
treeb323d32e4cbe8ac8ee3a700657c2d23554ce173c /pkgs/games/ecwolf
parent873acaa0452fb4b4dddd0b622ec075f4b4f4e371 (diff)
ecwolf: better code style for meta.broken, fix GTK game selector (#212871)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/games/ecwolf')
-rw-r--r--pkgs/games/ecwolf/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/ecwolf/default.nix b/pkgs/games/ecwolf/default.nix
index 505c76f38f94e..40b06d88269bb 100644
--- a/pkgs/games/ecwolf/default.nix
+++ b/pkgs/games/ecwolf/default.nix
@@ -11,7 +11,7 @@
 , SDL2
 , SDL2_net
 , SDL2_mixer
-, gtk2
+, gtk3
 }:
 
 stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ cmake copyDesktopItems pkg-config ];
-  buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ];
+  buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk3 ];
 
   desktopItems = [
     (makeDesktopItem {
@@ -61,11 +61,12 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
     description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms";
     homepage = "https://maniacsvault.net/ecwolf/";
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ sander ];
     platforms = platforms.all;
+    # On Darwin, the linker fails to find a bunch of symbols.
+    broken = stdenv.isDarwin;
   };
 }