zookeeper_mt: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 06:18:49 +01:00
parent 0751c5519e
commit ba6dff4e88
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -7,6 +7,8 @@ stdenv.mkDerivation rec {
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c"; setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-overflow" ];
buildInputs = [ zookeeper bash ]; buildInputs = [ zookeeper bash ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -17,4 +19,3 @@ stdenv.mkDerivation rec {
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }