Unverified Commit 5cb66f88 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python313Packages.piper-phonemize: fix aarch64-linux build

While in the sandbox calls into onnxruntime lead to a coredump.
parent 6c537b3d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  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;