2023-10-28 13:36:13 +00:00
|
|
|
{ self
|
|
|
|
, inputs
|
|
|
|
, ...
|
|
|
|
}: {
|
|
|
|
flake = {
|
|
|
|
nixosModules = rec {
|
|
|
|
overlays = ({ ... }: {
|
|
|
|
nixpkgs.overlays = [
|
2023-12-13 23:49:21 +00:00
|
|
|
(final: prev:
|
|
|
|
let
|
2023-12-18 11:39:04 +00:00
|
|
|
unstable = import inputs.unstable {
|
2023-12-13 23:49:21 +00:00
|
|
|
system = prev.system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2023-11-19 14:49:57 +00:00
|
|
|
element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; };
|
2024-02-16 12:21:48 +00:00
|
|
|
mastodon = prev.mastodon.override {
|
|
|
|
version = "4.2.7";
|
|
|
|
patches = [
|
|
|
|
(final.fetchpatch {
|
|
|
|
url = "https://github.com/mastodon/mastodon/compare/v4.2.6...v4.2.7.patch";
|
|
|
|
hash = "sha256-8FhlSIHOKIEjq62+rp8QdHY87qMCtDZwjyR0HabdHig=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
# Mastodon has been upgraded on master, the backport is still
|
|
|
|
# in progress. This is a temporary hack until the backport
|
|
|
|
# makes it to 23.11.
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/289261
|
|
|
|
gemset = import "${inputs.nixpkgs-head.sourceInfo.outPath}/pkgs/servers/mastodon/gemset.nix";
|
|
|
|
};
|
2023-10-28 13:36:13 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|