tomlplusplus: disable broken tests on darwin

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-10-30 09:09:33 +01:00
parent 39def438b4
commit 7fb369fe3e
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -44,12 +44,15 @@ stdenv.mkDerivation (finalAttrs: {
glibcLocales
];
doCheck = true;
mesonFlags = [
"-Dbuild_tests=${lib.boolToString finalAttrs.doCheck}"
"-Dbuild_examples=true"
];
# almost all tests fail on Darwin with the following exception:
# libc++abi: terminating due to uncaught exception of type std::runtime_error: collate_byname<char>::collate_byname failed to construct for
doCheck = !stdenv.hostPlatform.isDarwin;
passthru = {
updateScript = nix-update-script { };
tests.pkg-config = testers.hasPkgConfigModules {