summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/llama-cpp-python
diff options
context:
space:
mode:
authorGaetan Lepage <gaetan@glepage.com>2024-12-10 08:52:52 +0100
committerGaetan Lepage <gaetan@glepage.com>2024-12-10 08:52:52 +0100
commit147930bc02be5eba3a7c7090e70ed36a3461f2ec (patch)
treefc32e2a8b04e77a07ae97cb9d66c71b303618ef5 /pkgs/development/python-modules/llama-cpp-python
parentecc1ae01a415b2930181e35a69a43a056b263159 (diff)
python312Packages.llama-cpp-python: mark as broken on darwin
Diffstat (limited to 'pkgs/development/python-modules/llama-cpp-python')
-rw-r--r--pkgs/development/python-modules/llama-cpp-python/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/llama-cpp-python/default.nix b/pkgs/development/python-modules/llama-cpp-python/default.nix
index 579e91866019..b50fbf7ae3b1 100644
--- a/pkgs/development/python-modules/llama-cpp-python/default.nix
+++ b/pkgs/development/python-modules/llama-cpp-python/default.nix
@@ -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
+ ];
};
}