cpp-hocon: fix build w/glibc-2.34

Simply disable tests as it tries to pull in an old `catch2` from
`leatherman`.

Failing Hydra build: https://hydra.nixos.org/build/163982252
This commit is contained in:
Maximilian Bosch 2022-01-28 19:50:19 +01:00
parent 2db6c7e893
commit b43a3567ec
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
owner = "puppetlabs"; owner = "puppetlabs";
}; };
postPatch = ''
sed -i -e '/add_subdirectory(tests)/d' lib/CMakeLists.txt
'';
NIX_CFLAGS_COMPILE = "-Wno-error"; NIX_CFLAGS_COMPILE = "-Wno-error";
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];