nixos/dovecot: add dovecot package to modules, force proper dovecot version

This commit is contained in:
Nikolay Amiantov 2016-01-10 06:58:56 +03:00
parent b2b58642fe
commit 94a43b41af

View file

@ -55,7 +55,7 @@ let
];
modulesDir = pkgs.symlinkJoin "dovecot-modules"
(map (module: "${module}/lib/dovecot") cfg.modules);
(map (pkg: "${pkg}/lib/dovecot") ([ dovecotPkg ] ++ map (module: module.override { dovecot = dovecotPkg; }) cfg.modules));
in
{