diff --git a/nixosModules/wyoming-plus/pkgs/wyoming-openwakeword.nix b/nixosModules/wyoming-plus/pkgs/wyoming-openwakeword.nix index 2453e2d4..1c2319b6 100644 --- a/nixosModules/wyoming-plus/pkgs/wyoming-openwakeword.nix +++ b/nixosModules/wyoming-plus/pkgs/wyoming-openwakeword.nix @@ -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 */ { - fetchFromGitHub, lib, + fetchFromGitHub, + onnxruntime, openwakeword, python3Packages, ... @@ -48,6 +49,11 @@ in "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 = { description = "Open source voice assistant toolkit for many human languages"; homepage = "https://github.com/rhasspy/wyoming-openwakeword";