From 69b71d3eac110a1b1e510ad70af4f160843d0147 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 28 Aug 2016 14:06:55 +0000 Subject: [PATCH] liquidwar5: disable format hardening --- pkgs/games/liquidwar/5.nix | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/games/liquidwar/5.nix b/pkgs/games/liquidwar/5.nix index ac24f3bac740..dfb2934cf775 100644 --- a/pkgs/games/liquidwar/5.nix +++ b/pkgs/games/liquidwar/5.nix @@ -7,18 +7,16 @@ stdenv.mkDerivation rec { sha256 = "18wkbfzp07yckg05b5gjy67rw06z9lxp0hzg0zwj7rz8i12jxi9j"; }; - buildInputs = [ - allegro - ]; + buildInputs = [ allegro ]; - configureFlags = - (stdenv.lib.optional stdenv.isx86_64 "--disable-asm") - ; + configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm"; - meta = with stdenv.lib; { - description = ''The classic version of a quick tactics game LiquidWar''; - maintainers = [ maintainers.raskin ]; - license = licenses.gpl2Plus; - platforms = platforms.linux; - }; + hardeningDisable = [ "format" ]; + + meta = with stdenv.lib; { + description = ''The classic version of a quick tactics game LiquidWar''; + maintainers = [ maintainers.raskin ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; }