From e007b034ed6b5ab9ddb56304514327994766654b Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 1 Feb 2024 17:59:32 +0100 Subject: [PATCH] security: update mastodon to 4.2.5 https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw Pull in the patch early while NixOS channels are catching to build and cache https://github.com/NixOS/nixpkgs/pull/285565 https://nixpk.gs/pr-tracker.html?pr=285565 --- overlays/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/overlays/default.nix b/overlays/default.nix index 6b81e38..3c1dd0c 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -14,6 +14,15 @@ in { element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; }; + mastodon = prev.mastodon.override { + version = "4.2.5"; + patches = [ + (final.fetchpatch { + url = "https://github.com/mastodon/mastodon/compare/v4.2.4...v4.2.5.patch"; + hash = "sha256-CtzYV1i34s33lV/1jeNcr9p/x4Es1zRaf4l1sNWVKYk="; + }) + ]; + }; }) ]; });