about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-12-24 18:04:55 -0500
committerGitHub <noreply@github.com>2023-12-24 18:04:55 -0500
commit39c7bef832086efcc59ee6921c374e4bdec3336a (patch)
tree0205991ec518317fc966ff393d40d7689d545424
parent5c7964038550107da11211d72d0cbeb0a34d639e (diff)
parente0a60c7a39f319c95a88d4243ec72aa1e05e1b69 (diff)
Merge pull request #276055 from KaiHa/pr-openai-whisper-cpp-install-command
openai-whisper-cpp: install "command"
-rw-r--r--pkgs/tools/audio/openai-whisper-cpp/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/audio/openai-whisper-cpp/default.nix b/pkgs/tools/audio/openai-whisper-cpp/default.nix
index f19425201cde2..9be681e8314ee 100644
--- a/pkgs/tools/audio/openai-whisper-cpp/default.nix
+++ b/pkgs/tools/audio/openai-whisper-cpp/default.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     WHISPER_COREML_ALLOW_FALLBACK = "1";
   };
 
-  makeFlags = [ "main" "stream" ];
+  makeFlags = [ "main" "stream" "command" ];
 
   installPhase = ''
     runHook preInstall
@@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
     mkdir -p $out/bin
     cp ./main $out/bin/whisper-cpp
     cp ./stream $out/bin/whisper-cpp-stream
+    cp ./command $out/bin/whisper-cpp-command
 
     cp models/download-ggml-model.sh $out/bin/whisper-cpp-download-ggml-model