diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-30 15:56:15 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-30 15:56:15 +0100 |
commit | cfbc8b5d0a031e1051757cb7d7efe5eefad69c96 (patch) | |
tree | 5a818140e270e423ace863df3fdec0ab82092c74 /pkgs/servers/mastodon | |
parent | a0ae210253d6c48279582029a5da11deae0d2940 (diff) |
mastodon: fix rev
Diffstat (limited to 'pkgs/servers/mastodon')
-rw-r--r-- | pkgs/servers/mastodon/source.nix | 2 | ||||
-rwxr-xr-x | 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 995b58476d783..fc6c899e75691 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 6955f9e618050..b79e8d3063100 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]; |