From cfbc8b5d0a031e1051757cb7d7efe5eefad69c96 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:56:15 +0100 Subject: [PATCH] mastodon: fix rev --- pkgs/servers/mastodon/source.nix | 2 +- pkgs/servers/mastodon/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mastodon/source.nix b/pkgs/servers/mastodon/source.nix index 995b58476d78..fc6c899e7569 100644 --- a/pkgs/servers/mastodon/source.nix +++ b/pkgs/servers/mastodon/source.nix @@ -8,7 +8,7 @@ applyPatches { src = fetchFromGitHub { owner = "mastodon"; repo = "mastodon"; - rev = "${version}"; + rev = "v${version}"; hash = "sha256-xpE/mg2AeioW6NThUjLS+SBxGavG4w1xtp3BOMADfYo="; }; patches = []; diff --git a/pkgs/servers/mastodon/update.sh b/pkgs/servers/mastodon/update.sh index 6955f9e61805..b79e8d306310 100755 --- a/pkgs/servers/mastodon/update.sh +++ b/pkgs/servers/mastodon/update.sh @@ -90,7 +90,7 @@ applyPatches { src = fetchFromGitHub { owner = "$OWNER"; repo = "$REPO"; - rev = "\${version}"; + rev = "v\${version}"; hash = "$HASH"; }; patches = [$PATCHES];