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

authored by 7c6f434c and committed by GitHub 1c39e588 9b04c871

+3
+3
pkgs/by-name/wh/whisper-cpp/package.nix
··· 11 which, 12 autoAddDriverRunpath, 13 makeWrapper, 14 15 metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, 16 coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken ··· 169 "$out/bin/whisper-cli" --help >/dev/null 170 runHook postInstallCheck 171 ''; 172 173 meta = { 174 description = "Port of OpenAI's Whisper model in C/C++";
··· 11 which, 12 autoAddDriverRunpath, 13 makeWrapper, 14 + nix-update-script, 15 16 metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, 17 coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken ··· 170 "$out/bin/whisper-cli" --help >/dev/null 171 runHook postInstallCheck 172 ''; 173 + 174 + passthru.updateScript = nix-update-script { }; 175 176 meta = { 177 description = "Port of OpenAI's Whisper model in C/C++";