security: update mastodon to v4.2.5

This commit is contained in:
Ivan R. 2024-02-01 21:57:39 +05:00
parent e2c2a04256
commit fe58b870d5
2 changed files with 18 additions and 3 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1701952659,
"narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=",
"lastModified": 1706718339,
"narHash": "sha256-S+S97c/HzkO2A/YsU7ZmNF9w2s7Xk6P8dzmfDdckzLs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4",
"rev": "53fbe41cf76b6a685004194e38e889bc8857e8c2",
"type": "github"
},
"original": {

View file

@ -1,5 +1,20 @@
{ config, ... }:
{
nixpkgs.overlays = [
(final: prev:
rec {
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=";
})
];
};
})
];
services.mastodon = {
enable = true;