python313Packages.piper-phonemize: fix aarch64-linux build

While in the sandbox calls into onnxruntime lead to a coredump.
This commit is contained in:
Martin Weinelt
2025-05-17 11:52:32 +02:00
parent 6c537b3d84
commit 5cb66f8889
@@ -1,4 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
onnxruntime-native,
piper-phonemize-native,
@@ -21,7 +23,8 @@ buildPythonPackage {
piper-phonemize-native.espeak-ng
];
pythonImportsCheck = [ "piper_phonemize" ];
# coredump in onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger()
pythonImportsCheck = lib.optionals stdenv.hostPlatform.isx86 [ "piper_phonemize" ];
# no tests
doCheck = false;