Build dovecot with solr support

This commit is contained in:
niten 2023-10-11 18:20:37 -07:00
parent 01c706c928
commit ffbb4539a1
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,11 @@ let
sieveDirectory = "${cfg.state-directory}/sieves";
dovecotPkg = pkgs.dovecot.overrideAttrs (oldAttrs: {
configureFlags = oldAttrs.configureFlags ++ [ "--with-solr" ];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.expat ];
});
in {
options.fudo.mail.dovecot = with types; {
enable = mkEnableOption "Enable Dovecot2 IMAP server.";