fix(wyoming): get rid of onnx error
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-12-15 20:01:52 -05:00
parent c75cb0759d
commit fcdf341dfe

View file

@ -3,8 +3,9 @@ This package uses a `wyoming-openwakeword` fork that makes use of
the upstream `openwakeword` instead of a fork: https://github.com/rhasspy/wyoming-openwakeword/pull/27 the upstream `openwakeword` instead of a fork: https://github.com/rhasspy/wyoming-openwakeword/pull/27
*/ */
{ {
fetchFromGitHub,
lib, lib,
fetchFromGitHub,
onnxruntime,
openwakeword, openwakeword,
python3Packages, python3Packages,
... ...
@ -48,6 +49,11 @@ in
"wyoming_openwakeword" "wyoming_openwakeword"
]; ];
# Native onnxruntime lib used by Python module onnxruntime can't find its other libs without this
makeWrapperArgs = [
''--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [onnxruntime]}"''
];
meta = { meta = {
description = "Open source voice assistant toolkit for many human languages"; description = "Open source voice assistant toolkit for many human languages";
homepage = "https://github.com/rhasspy/wyoming-openwakeword"; homepage = "https://github.com/rhasspy/wyoming-openwakeword";