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": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1707978831, "lastModified": 1709128929,
"narHash": "sha256-UblFdWQ2MMZNzD9C/w8+7RjAJ2QIbebbzHUniQ/a44o=", "narHash": "sha256-GWrv9a+AgGhG4/eI/CyVVIIygia7cEy68Huv3P8oyaw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c68a9fc85c2cb3a313be6ff40511635544dde8da", "rev": "c8e74c2f83fe12b4e5a8bd1abbc090575b0f7611",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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