zookeper_mt: fix darwin build

https://hydra.nixos.org/build/108500112
This commit is contained in:
Maximilian Bosch 2019-12-27 18:16:07 +01:00
parent de13f9c5a4
commit 49962a88aa
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c"; setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-overflow" ]; NIX_CFLAGS_COMPILE = stdenv.lib.optionals (!stdenv.isDarwin) [ "-Wno-error=format-overflow" ];
buildInputs = [ zookeeper bash ]; buildInputs = [ zookeeper bash ];