ecwolf: better code style for meta.broken, fix GTK game selector (#212871)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Jayman2000 Sandro and committed by GitHub 8d6a0e96 873acaa0

+4 -3
+4 -3
pkgs/games/ecwolf/default.nix
··· 11 11 , SDL2 12 12 , SDL2_net 13 13 , SDL2_mixer 14 - , gtk2 14 + , gtk3 15 15 }: 16 16 17 17 stdenv.mkDerivation rec { ··· 26 26 }; 27 27 28 28 nativeBuildInputs = [ cmake copyDesktopItems pkg-config ]; 29 - buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ]; 29 + buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk3 ]; 30 30 31 31 desktopItems = [ 32 32 (makeDesktopItem { ··· 61 61 ''; 62 62 63 63 meta = with lib; { 64 - broken = stdenv.isDarwin; 65 64 description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms"; 66 65 homepage = "https://maniacsvault.net/ecwolf/"; 67 66 license = licenses.gpl2Plus; 68 67 maintainers = with maintainers; [ sander ]; 69 68 platforms = platforms.all; 69 + # On Darwin, the linker fails to find a bunch of symbols. 70 + broken = stdenv.isDarwin; 70 71 }; 71 72 }