diff --git a/pkgs/misc/emulators/gens-gs/default.nix b/pkgs/misc/emulators/gens-gs/default.nix index 53c55de9a37..a6f457b5210 100644 --- a/pkgs/misc/emulators/gens-gs/default.nix +++ b/pkgs/misc/emulators/gens-gs/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig gtkLibs.gtk SDL nasm zlib libpng mesa ]; + # Work around build failures on recent GTK+. + # See http://ubuntuforums.org/showthread.php?p=10535837 + NIX_CFLAGS_COMPILE = "-UGTK_DISABLE_DEPRECATED -UGSEAL_ENABLE"; + meta = { homepage = http://segaretro.org/Gens/GS; description = "A Genesis/Mega Drive emulator";