diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-28 22:29:04 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-28 22:29:04 +0200 |
commit | 300a6fda7724be412f55c286cd209bb6b0301ac3 (patch) | |
tree | ece9ddc6586ad92bf0efe116f7d7191095cdb3f6 /pkgs/servers/mastodon/source.nix | |
parent | 591d32cdb14b34e4a4bf5b5bbff3ddc96aadbfb0 (diff) |
mastodon: apply suggestion
Diffstat (limited to 'pkgs/servers/mastodon/source.nix')
-rw-r--r-- | pkgs/servers/mastodon/source.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/servers/mastodon/source.nix b/pkgs/servers/mastodon/source.nix index 5ab1079588279..995b58476d783 100644 --- a/pkgs/servers/mastodon/source.nix +++ b/pkgs/servers/mastodon/source.nix @@ -1,11 +1,14 @@ # This file was generated by pkgs.mastodon.updateScript. { fetchFromGitHub, applyPatches }: -applyPatches { +let version = "4.1.9"; +in +applyPatches { + inherit version; src = fetchFromGitHub { owner = "mastodon"; repo = "mastodon"; - rev = "v4.1.9"; + rev = "${version}"; hash = "sha256-xpE/mg2AeioW6NThUjLS+SBxGavG4w1xtp3BOMADfYo="; }; patches = []; |