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 | |
parent | a0ae210253d6c48279582029a5da11deae0d2940 (diff) | |
download | nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar.gz nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar.bz2 nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar.lz nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar.xz nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.tar.zst nixpkgs-cfbc8b5d0a031e1051757cb7d7efe5eefad69c96.zip |
mastodon: fix rev
-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 995b58476d7..fc6c899e756 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 6955f9e6180..b79e8d30631 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]; |