From 0ee8be3a190c75d89abf499e90e3046e274b03bd Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Fri, 20 Dec 2013 16:57:22 +0200 Subject: [PATCH] warmux: fix build --- pkgs/games/warmux/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;