summary refs log tree commit diff
diff options
context:
space:
mode:
authorxeji <xeji@cat3.de>2018-03-19 22:59:59 +0100
committerxeji <xeji@cat3.de>2018-03-19 22:59:59 +0100
commitf9ed23d2716a2561efec68840b188341e5724fd4 (patch)
tree4a612ccc4c3755777c60e030414248cdbaf3ec08
parent5675f17b0ed8be07752dedb1a9c42a20142f07e9 (diff)
downloadnixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar.gz
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar.bz2
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar.lz
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar.xz
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.tar.zst
nixlib-f9ed23d2716a2561efec68840b188341e5724fd4.zip
altermime: fix build
-rw-r--r--pkgs/tools/networking/altermime/default.nix6
1 files changed, 5 insertions, 1 deletions
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@"