Merge pull request #68759 from marsam/fix-chez-build
chez: fix build on darwin
commit94d48451a69d1301ea5ead486564e5eb669dda1e
authorMatthew Bauer <mjbauer95@gmail.com>
dateSat 14 Sep 2019, 11:58 (7 years ago)
parent859a32becdc1ec
pkgs/development/compilers/chez/default.nix+1−1
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 enableParallelBuilding = true;
2222
23− NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";
23+ NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-Wno-error=format-truncation";
2424
2525 /*
2626 ** We patch out a very annoying 'feature' in ./configure, which