diff --git a/pkgs/games/warmux/default.nix b/pkgs/games/warmux/default.nix index ff2ce6bb819..ad633d15a8c 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;