infra/overlays/default.nix
teutat3s e007b034ed
All checks were successful
Flake checks / Check (pull_request) Successful in 8m14s
security: update mastodon to 4.2.5
https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw

Pull in the patch early while NixOS channels are catching to build and
cache https://github.com/NixOS/nixpkgs/pull/285565

https://nixpk.gs/pr-tracker.html?pr=285565
2024-02-01 17:59:32 +01:00

32 lines
848 B
Nix

{ self
, inputs
, ...
}: {
flake = {
nixosModules = rec {
overlays = ({ ... }: {
nixpkgs.overlays = [
(final: prev:
let
unstable = import inputs.unstable {
system = prev.system;
};
in
{
element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; };
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=";
})
];
};
})
];
});
};
};
}