Merge pull request #257810 from erictapen/mastodon-fix-update-script
mastodon: fix updateScript
This commit is contained in:
commit
f3d8120d7d
@ -77,7 +77,7 @@ 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 .sha256)"
|
||||
HASH="$(echo "$JSON" | jq -r .hash)"
|
||||
HASH="$(nix hash to-sri --type sha256 "$HASH")"
|
||||
|
||||
echo "Creating version.nix"
|
||||
|
Loading…
Reference in New Issue
Block a user