git.iko.soy/typeable/nixpkgs
on master help sign in
chez: fix build on darwin
commitecdc1ecd9c8d502ad3ef9cfe8d48645319120bac authorMario Rodas <marsam@users.noreply.github.com> dateFri 13 Sep 2019, 22:00 (7 years ago) parenta412701
1 file changed+1−1
pkgs/development/compilers/chez/default.nix+1−1
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