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

@ -1,20 +1,21 @@
{ stdenv, zookeeper, bash }:
stdenv.mkDerivation rec {
name = "zookeeper_mt-${stdenv.lib.getVersion zookeeper}";
src = zookeeper.src;
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
name = "zookeeper_mt-${stdenv.lib.getVersion zookeeper}";
buildInputs = [ zookeeper bash ];
src = zookeeper.src;
meta = with stdenv.lib; {
homepage = http://zookeeper.apache.org;
description = "Apache Zookeeper";
license = licenses.asl20;
maintainers = [ maintainers.boothead ];
platforms = platforms.unix;
};
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/c";
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-overflow" ];
buildInputs = [ zookeeper bash ];
meta = with stdenv.lib; {
homepage = http://zookeeper.apache.org;
description = "Apache Zookeeper";
license = licenses.asl20;
maintainers = [ maintainers.boothead ];
platforms = platforms.unix;
};
}