From 02ff32a522aa99b4f4dce09245573f8e7b8c0da5 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Mon, 19 Jan 2026 19:38:26 -0500 Subject: [PATCH] sqlite: disable tests on Darwin The tests seem to be unreliable (at least when SQLite is built by the Nix daemon). Sometimes they succeed, but they often do not. Even if SQLite were removed from the bootstrap, this would still be a problem, so disable the tests for now. --- pkgs/development/libraries/sqlite/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index c0b7c4792e4e..3e3358bc9c38 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -128,7 +128,8 @@ stdenv.mkDerivation rec { mv sqlite-doc-${archiveVersion version} $doc/share/doc/sqlite ''; - doCheck = true; + # SQLite’s tests are unreliable on Darwin. Sometimes they run successfully, but often they do not. + doCheck = !stdenv.hostPlatform.isDarwin; # When tcl is not available, only run test targets that don't need it. checkTarget = lib.optionalString stdenv.hostPlatform.isStatic "fuzztest sourcetest";