fruitbasket/overlays/default.nix
2024-09-05 15:32:19 +02:00

41 lines
1.4 KiB
Nix

_final: prev:
let
inherit (prev) fetchurl;
inherit (prev) fetchFromGitHub;
inherit (prev) callPackage;
in
{
# AGDSN is running an outdated version that we have to comply to
bacula = (prev.bacula.overrideAttrs (old: rec {
version = "9.6.7";
src = fetchurl {
url = "mirror://sourceforge/bacula/${old.pname}-${version}.tar.gz";
sha256 = "sha256-3w+FJezbo4DnS1N8pxrfO3WWWT8CGJtZqw6//IXMyN4=";
};
}));
# (hopefully) fix systemd journal reading
# prometheus-postfix-exporter = prev.prometheus-postfix-exporter.overrideAttrs (_old: {
# patches = [
# ./prometheus-postfix-exporter/0001-cleanup-also-catch-milter-reject.patch
# ];
# src = fetchFromGitHub {
# owner = "adangel";
# repo = "postfix_exporter";
# rev = "414ac12ee63415eede46cb3084d755a6da6fba23";
# hash = "sha256-m1kVaO3N7XC1vtnxXX9kMiEFPmZuoopRUYgA7gQzP8w=";
# };
# });
# Mailman internal server error fix
# https://gitlab.com/mailman/mailman/-/issues/1137
# https://github.com/NixOS/nixpkgs/pull/321136
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(python-final: python-prev: {
readme-renderer = python-prev.readme-renderer.overridePythonAttrs (oldAttrs: {
propagatedBuildInputs = [ python-prev.cmarkgfm ];
});
})
];
keycloak_ifsr_theme = callPackage ../modules/keycloak/theme.nix { };
}