Build dovecot with solr support
This commit is contained in:
parent
01c706c928
commit
ffbb4539a1
|
@ -6,6 +6,11 @@ let
|
||||||
|
|
||||||
sieveDirectory = "${cfg.state-directory}/sieves";
|
sieveDirectory = "${cfg.state-directory}/sieves";
|
||||||
|
|
||||||
|
dovecotPkg = pkgs.dovecot.overrideAttrs (oldAttrs: {
|
||||||
|
configureFlags = oldAttrs.configureFlags ++ [ "--with-solr" ];
|
||||||
|
buildInputs = oldAttrs.buildInputs ++ [ pkgs.expat ];
|
||||||
|
});
|
||||||
|
|
||||||
in {
|
in {
|
||||||
options.fudo.mail.dovecot = with types; {
|
options.fudo.mail.dovecot = with types; {
|
||||||
enable = mkEnableOption "Enable Dovecot2 IMAP server.";
|
enable = mkEnableOption "Enable Dovecot2 IMAP server.";
|
||||||
|
|
Loading…
Reference in New Issue