diff --git a/sources/update-sources.sh b/sources/update-sources.sh index baecc99..47c8e8e 100755 --- a/sources/update-sources.sh +++ b/sources/update-sources.sh @@ -7,7 +7,7 @@ DIRECTORY=$(realpath "$(dirname "$0")") # Update swayimg SWAYIMG_VERSION=$(curl https://api.github.com/repos/artemsen/swayimg/tags | jq -r ".[0].name" | tr -d "v") SWAYIMG_URL="https://github.com/artemsen/swayimg/archive/refs/tags/v$SWAYIMG_VERSION.tar.gz" -SWAYIMG_HASH=$(nix-prefetch fetchurl --url "$SWAYIMG_URL" -s) +SWAYIMG_HASH=$(nix-prefetch fetchurl --url "$SWAYIMG_URL") jq --null-input \ --arg version "$SWAYIMG_VERSION" \ --arg url "$SWAYIMG_URL" \