about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-07 23:01:56 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-18 16:55:33 -0700
commitc249486edb141837f28af2afd5b3c1331899d626 (patch)
tree45be426ac0b188b7fc49fd1a9a9f299baafa357d
parente2e1dd7d0a3a28a470ae3d5df0d905d9bacd7e66 (diff)
squeezelite: adapt update script to new nix-prefetch-github
-rwxr-xr-xpkgs/applications/audio/squeezelite/update.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/audio/squeezelite/update.sh b/pkgs/applications/audio/squeezelite/update.sh
index d12213f834826..0a53ef988155f 100755
--- a/pkgs/applications/audio/squeezelite/update.sh
+++ b/pkgs/applications/audio/squeezelite/update.sh
@@ -12,8 +12,7 @@ if [[ "$currentVersion" == "$latestVersion" ]]; then
   exit 0
 fi
 
-srcHash=$(nix-prefetch-github ralph-irving squeezelite --rev "$latestRev" | jq -r .sha256)
-srcHash=$(nix hash to-sri --type sha256 "$srcHash")
+srcHash=$(nix-prefetch-github ralph-irving squeezelite --rev "$latestRev" | jq -r .hash)
 
 
 update-source-version squeezelite "$latestVersion" "$srcHash" --rev="${latestRev}"