zookeeper_mt: fix build with gcc8
This commit is contained in:
parent
0751c5519e
commit
ba6dff4e88
1 changed files with 15 additions and 14 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue