berkeleydb: skip tests on macOS to fix build

This commit is contained in:
Michael Hoang
2024-09-24 09:28:56 +07:00
parent 99dc8785f6
commit 52fd714a84
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
setuptools,
@@ -19,6 +20,10 @@ buildPythonPackage rec {
build-system = [ setuptools ];
# Every test currently fails with:
# berkeleydb.db.DBRunRecoveryError: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB1546 unable to join the environment')
doCheck = !stdenv.isDarwin;
checkPhase = ''
${python.interpreter} test.py
'';