altermime: fix build

This commit is contained in:
xeji 2018-03-19 22:59:59 +01:00
parent 5675f17b0e
commit f9ed23d271

View File

@ -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@"