From a985e3c9ff3b5271b50fb4c397f386b0574db272 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 28 Sep 2023 20:32:06 +0200 Subject: [PATCH] mastodon: simplify update script --- pkgs/servers/mastodon/update.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/servers/mastodon/update.sh b/pkgs/servers/mastodon/update.sh index 7f3fb522c163..78a67e95cad9 100755 --- a/pkgs/servers/mastodon/update.sh +++ b/pkgs/servers/mastodon/update.sh @@ -78,7 +78,6 @@ trap cleanup EXIT echo "Fetching source code $REVISION" JSON=$(nix-prefetch-github "$OWNER" "$REPO" --rev "$REVISION" 2> $WORK_DIR/nix-prefetch-git.out) HASH="$(echo "$JSON" | jq -r .hash)" -HASH="$(nix hash to-sri --type sha256 "$HASH")" echo "Creating version.nix" echo "\"$VERSION\"" | sed 's/^"v/"/' > version.nix