From ffbb4539a19771111c1c3d5b5f4252e7e7f97d1e Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 11 Oct 2023 18:20:37 -0700 Subject: [PATCH] Build dovecot with solr support --- dovecot.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dovecot.nix b/dovecot.nix index 1b72ca1..424f432 100644 --- a/dovecot.nix +++ b/dovecot.nix @@ -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.";