about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/mastodon
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/mastodon')
-rw-r--r--nixpkgs/pkgs/servers/mastodon/source.nix2
-rwxr-xr-xnixpkgs/pkgs/servers/mastodon/update.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/servers/mastodon/source.nix b/nixpkgs/pkgs/servers/mastodon/source.nix
index 995b58476d78..fc6c899e7569 100644
--- a/nixpkgs/pkgs/servers/mastodon/source.nix
+++ b/nixpkgs/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/nixpkgs/pkgs/servers/mastodon/update.sh b/nixpkgs/pkgs/servers/mastodon/update.sh
index 6955f9e61805..b79e8d306310 100755
--- a/nixpkgs/pkgs/servers/mastodon/update.sh
+++ b/nixpkgs/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];