mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
feat: update mastodon to v4.2.8
This commit is contained in:
parent
0a94178be7
commit
eb14809c27
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue