chez: fix build on darwin

This commit is contained in:
Mario Rodas 2019-09-13 22:00:00 -05:00
parent a412701c8d
commit ecdc1ecd9c
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-Wno-error=format-truncation";
/*
** We patch out a very annoying 'feature' in ./configure, which