mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
openai-whisper-cpp: install "command"
This commit is contained in:
parent
9f39ab41a7
commit
e0a60c7a39
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
WHISPER_COREML_ALLOW_FALLBACK = "1";
|
WHISPER_COREML_ALLOW_FALLBACK = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "main" "stream" ];
|
makeFlags = [ "main" "stream" "command" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ./main $out/bin/whisper-cpp
|
cp ./main $out/bin/whisper-cpp
|
||||||
cp ./stream $out/bin/whisper-cpp-stream
|
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
|
cp models/download-ggml-model.sh $out/bin/whisper-cpp-download-ggml-model
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user