services.mastodon: security update to 4.2.5

This commit is contained in:
2024-02-03 20:39:47 +08:00
parent 26f0b20684
commit 3a60acebb5

View File

@@ -12,6 +12,16 @@ inputs:
inherit (builtins) toString;
in mkIf mastodon.enable
{
# TODO: remove in next release
nixpkgs.overlays = [(final: prev: { mastodon = prev.mastodon.override
{
version = "4.2.5";
patches = prev.patches or [] ++ [(final.fetchpatch
{
url = "https://github.com/mastodon/mastodon/compare/v4.2.4...v4.2.5.patch";
hash = "sha256-CtzYV1i34s33lV/1jeNcr9p/x4Es1zRaf4l1sNWVKYk=";
})];
};})];
services.mastodon =
{
enable = true;