summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/games/warmux/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/warmux/default.nix b/pkgs/games/warmux/default.nix
index ff2ce6bb819f..ad633d15a8c2 100644
--- a/pkgs/games/warmux/default.nix
+++ b/pkgs/games/warmux/default.nix
@@ -30,10 +30,12 @@ rec {
   inherit buildInputs;
 
   /* doConfigure should be removed if not needed */
-  phaseNames = ["doConfigure" "doMakeInstall"];
+  phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
 
   configureFlags = "CFLAGS=\"-include ${zlib}/include/zlib.h\"";
 
+  patches = [ ./gcc-fix.patch ];
+
   meta = {
     description = "Ballistics turn-based battle game between teams";
     maintainers = with a.lib.maintainers;