From 06acce89f10fb0d9c025b6fb6040616d9cc35d57 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sat, 28 Jun 2025 09:55:58 -0700 Subject: [PATCH] nixos/wyoming-faster-whisper: fix typo in assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes typo in assertion: `initialPromt` -> `initialPrompt` This typo causes the module to fail with: ``` error: A definition for option `assertions' is not of type `list of unspecified value'. Definition values: - In `/nix/store/.../nixos/modules/services/home-automation/wyoming/faster-whisper.nix': ``` The typo was introduced in the v2.5.0 update.​​​​​​​​​​​​​​​​ --- .../modules/services/home-automation/wyoming/faster-whisper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix index 95f9f127485d..7c52cafac33a 100644 --- a/nixos/modules/services/home-automation/wyoming/faster-whisper.nix +++ b/nixos/modules/services/home-automation/wyoming/faster-whisper.nix @@ -282,7 +282,7 @@ in mkIf (cfg.servers != { }) { assertions = mapAttrsToList ( server: options: { - assertion = options.useTransformers -> options.initialPromt == null; + assertion = options.useTransformers -> options.initialPrompt == null; message = "wyoming-faster-whisper/${server}: Transformer models (`useTransformers`) do not currently support an `initialPrompt`."; } );