From 1b6a6c0522dcf6c4372561632089fa2191124754 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 3 Nov 2021 11:09:17 +0100 Subject: [PATCH] utf8cpp: disable tests on darwin Ever since the test framework was changed, tests started to fail on Darwin due to an exception being thrown somewhere in the test framework code. As this failure doesn't indicate a bug in utf8cpp, we can work around this by disabling the test suite on darwin. Closes #144265. Reference https://github.com/nemtrif/utfcpp/issues/84. --- pkgs/development/libraries/utf8cpp/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/utf8cpp/default.nix b/pkgs/development/libraries/utf8cpp/default.nix index a6d9628a6c38..c5d4fd061a07 100644 --- a/pkgs/development/libraries/utf8cpp/default.nix +++ b/pkgs/development/libraries/utf8cpp/default.nix @@ -18,7 +18,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - doCheck = true; + # Tests fail on darwin, probably due to a bug in the test framework: + # https://github.com/nemtrif/utfcpp/issues/84 + doCheck = !stdenv.isDarwin; meta = with lib; { homepage = "https://github.com/nemtrif/utfcpp";