python312Packages.llama-cpp-python: mark as broken on darwin

This commit is contained in:
Gaetan Lepage
2024-12-10 08:52:52 +01:00
parent ecc1ae01a4
commit 147930bc02
@@ -115,5 +115,12 @@ buildPythonPackage rec {
changelog = "https://github.com/abetlen/llama-cpp-python/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kirillrdy ];
badPlatforms = [
# Segfaults during tests:
# tests/test_llama.py .Fatal Python error: Segmentation fault
# Current thread 0x00000001f3decf40 (most recent call first):
# File "/private/tmp/nix-build-python3.12-llama-cpp-python-0.3.2.drv-0/source/llama_cpp/_internals.py", line 51 in __init__
lib.systems.inspect.patterns.isDarwin
];
};
}