feat: update mastodon to v4.2.8

This commit is contained in:
Ivan R. 2024-02-29 22:02:25 +05:00
parent 0a94178be7
commit eb14809c27
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
2 changed files with 22 additions and 21 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1707978831,
"narHash": "sha256-UblFdWQ2MMZNzD9C/w8+7RjAJ2QIbebbzHUniQ/a44o=",
"lastModified": 1709128929,
"narHash": "sha256-GWrv9a+AgGhG4/eI/CyVVIIygia7cEy68Huv3P8oyaw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c68a9fc85c2cb3a313be6ff40511635544dde8da",
"rev": "c8e74c2f83fe12b4e5a8bd1abbc090575b0f7611",
"type": "github"
},
"original": {

View file

@ -1,23 +1,24 @@
{ config, ... }:
{
nixpkgs.overlays = [
(final: prev:
rec {
mastodon = prev.mastodon.override {
version = "4.2.7";
gemset = builtins.toString (final.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/61acce0cb596050f5fa1c6ebf3f339a893361028/pkgs/servers/mastodon/gemset.nix";
hash = "sha256-Npny6jwon/xdTMU7xOZSZmiwId5IMDUgno1dG1FGkhA=";
});
patches = [
(final.fetchpatch {
url = "https://github.com/mastodon/mastodon/compare/v4.2.6...v4.2.7.patch";
hash = "sha256-8FhlSIHOKIEjq62+rp8QdHY87qMCtDZwjyR0HabdHig=";
})
];
};
})
];
# For emergency updates:
# nixpkgs.overlays = [
# (final: prev:
# rec {
# mastodon = prev.mastodon.override {
# version = "4.2.7";
# gemset = builtins.toString (final.fetchurl {
# url = "https://raw.githubusercontent.com/NixOS/nixpkgs/61acce0cb596050f5fa1c6ebf3f339a893361028/pkgs/servers/mastodon/gemset.nix";
# hash = "sha256-Npny6jwon/xdTMU7xOZSZmiwId5IMDUgno1dG1FGkhA=";
# });
# patches = [
# (final.fetchpatch {
# url = "https://github.com/mastodon/mastodon/compare/v4.2.6...v4.2.7.patch";
# hash = "sha256-8FhlSIHOKIEjq62+rp8QdHY87qMCtDZwjyR0HabdHig=";
# })
# ];
# };
# })
# ];
services.mastodon = {
enable = true;