5 function prefetch-sri
() {
6 nix-prefetch-url
"$1" 2>/dev
/null |
xargs nix
hash to-sri
--type sha256
10 x86_64-unknown-linux-musl
15 LATEST
="$(curl -sS https://update.tabnine.com/bundles/version)"
18 version = "${LATEST}";
21 for platform
in "${PLATFORMS[@]}"; do
22 url
="https://update.tabnine.com/bundles/${LATEST}/${platform}/TabNine.zip"
23 sha
="$(prefetch-sri "$url")"