From f9ed23d2716a2561efec68840b188341e5724fd4 Mon Sep 17 00:00:00 2001 From: xeji Date: Mon, 19 Mar 2018 22:59:59 +0100 Subject: [PATCH] altermime: fix build --- pkgs/tools/networking/altermime/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/altermime/default.nix b/pkgs/tools/networking/altermime/default.nix index f05669a4e502..f1e85487d8fc 100644 --- a/pkgs/tools/networking/altermime/default.nix +++ b/pkgs/tools/networking/altermime/default.nix @@ -10,7 +10,11 @@ stdenv.mkDerivation rec { sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7"; }; - NIX_CFLAGS_COMPILE = "-Wno-error=format"; + NIX_CFLAGS_COMPILE = [ "-Wno-error=format" + "-Wno-error=format-truncation" + "-Wno-error=pointer-compare" + "-Wno-error=memset-elt-size" + ]; postPatch = '' sed -i Makefile -e "s@/usr/local@$out@"