rubyPackages.zookeeper: fix build with gcc 16 (#577704)

This commit is contained in:
Peder Bergebakken Sundt
2026-10-24 21:10:43 +00:00
committed by GitHub

View File

@@ -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";
};
}