python3Packages.gguf: exclude optional sentencepiece on Darwin
Revert this once sentencepiece is fixed, see https://github.com/NixOS/nixpkgs/issues/466092
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
@@ -37,8 +38,12 @@ buildPythonPackage rec {
|
||||
numpy
|
||||
pyside6
|
||||
pyyaml
|
||||
sentencepiece
|
||||
tqdm
|
||||
]
|
||||
# Sentencepiece is optional and its inclusion crashes darwin
|
||||
# See https://github.com/NixOS/nixpkgs/issues/466092
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
sentencepiece
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
Reference in New Issue
Block a user