protobuf: enable tests on darwin

This commit is contained in:
Gaetan Lepage
2024-12-06 08:34:17 +01:00
parent 22924b6cbd
commit 7d7d58bd3e
@@ -85,15 +85,11 @@ stdenv.mkDerivation (finalAttrs: {
];
doCheck =
# FIXME: investigate. 24.x and 23.x have different errors.
# At least some of it is not reproduced on some other machine; example:
# https://hydra.nixos.org/build/235677717/nixlog/4/tail
!(stdenv.hostPlatform.isDarwin && lib.versionAtLeast version "23")
# Tests fail to build on 32-bit platforms; fixed in 22.x
# https://github.com/protocolbuffers/protobuf/issues/10418
# Also AnyTest.TestPackFromSerializationExceedsSizeLimit fails on 32-bit platforms
# https://github.com/protocolbuffers/protobuf/issues/8460
&& !stdenv.hostPlatform.is32bit;
!stdenv.hostPlatform.is32bit;
nativeInstallCheckInputs = [
versionCheckHook