diff --git a/pkgs/games/quake3/game/default.nix b/pkgs/games/quake3/game/default.nix index d73c8c6a4c47..bea117c04197 100644 --- a/pkgs/games/quake3/game/default.nix +++ b/pkgs/games/quake3/game/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, x11, SDL, mesa, openal }: +{ lib, stdenv, fetchurl, x11, SDL, mesa, openal, gcc }: stdenv.mkDerivation { name = "ioquake3-1.36"; @@ -22,7 +22,7 @@ stdenv.mkDerivation { ./exit.patch ]; - buildInputs = [x11 SDL mesa openal]; + buildInputs = [x11 SDL mesa openal gcc]; # Fix building on GCC 4.6. NIX_CFLAGS_COMPILE = "-Wno-error"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 97b96e9b26cc..244c236bb17c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11457,7 +11457,7 @@ let quake3demodata = callPackage ../games/quake3/demo { }; - quake3game = callPackage ../games/quake3/game { }; + quake3game = callPackage ../games/quake3/game { gcc = gcc46; }; quantumminigolf = callPackage ../games/quantumminigolf {};