altermime: fix build
This commit is contained in:
parent
5675f17b0e
commit
f9ed23d271
@ -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@"
|
||||
|
Loading…
Reference in New Issue
Block a user