mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
rubyPackages.zookeeper: fix build with gcc 16 (#577704)
This commit is contained in:
@@ -1231,5 +1231,7 @@ in
|
||||
|
||||
zookeeper = attrs: {
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ cctools ];
|
||||
# avoid failing on strchr discarding const
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=discarded-qualifiers";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user