whisper-cpp: add passthru.updateScript (#419919)

This commit is contained in:
7c6f434c 2025-08-11 19:48:30 +00:00 committed by GitHub
commit 1c39e588f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@
which, which,
autoAddDriverRunpath, autoAddDriverRunpath,
makeWrapper, makeWrapper,
nix-update-script,
metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64,
coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken
@ -170,6 +171,8 @@ effectiveStdenv.mkDerivation (finalAttrs: {
runHook postInstallCheck runHook postInstallCheck
''; '';
passthru.updateScript = nix-update-script { };
meta = { meta = {
description = "Port of OpenAI's Whisper model in C/C++"; description = "Port of OpenAI's Whisper model in C/C++";
longDescription = '' longDescription = ''