python313Packages.piper-phonemize: fix aarch64-linux build (#407873)

This commit is contained in:
Martin Weinelt
2025-05-17 14:58:33 +02:00
committed by GitHub
@@ -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;