Unverified Commit 232d46e0 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

nixos/wyoming/openwakeword: fix eval

Incomplete bracketing led to a partial application of the concatMap
function, which broke the evaluation of this module.
parent 48a44d72
Loading
Loading
Loading
Loading
+8 −16
Original line number Diff line number Diff line
@@ -126,22 +126,14 @@ in
            "--trigger-level"
            cfg.triggerLevel
          ]
          ++ concatMap (
            model:
            [
          ++ (concatMap (model: [
            "--preload-model"
            model
            ]
              cfg.preloadModels
          )
          ++ concatMap (
            dir:
            [
          ]) cfg.preloadModels)
          ++ (concatMap (dir: [
            "--custom-model-dir"
            (toString dir)
            ]
              cfg.customModelsDirectories
          )
          ]) cfg.customModelsDirectories)
          ++ cfg.extraArgs
        );
        CapabilityBoundingSet = "";