Skip to content

Commit da226d1

Browse files
authored
Merge pull request NixOS#284749 from 2xsaiko/outgoing/dovecot-fix-1
2 parents 1d68d6d + 522d660 commit da226d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nixos/modules/services/mail/dovecot.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{ options, config, lib, pkgs, ... }:
1+
{ config, lib, pkgs, ... }:
22

33
let
4-
inherit (lib) any attrValues concatMapStringsSep concatStrings
5-
concatStringsSep flatten imap1 isList literalExpression mapAttrsToList
4+
inherit (lib) attrValues concatMapStringsSep concatStrings
5+
concatStringsSep flatten imap1 literalExpression mapAttrsToList
66
mkEnableOption mkIf mkOption mkRemovedOptionModule optional optionalAttrs
77
optionalString singleton types mkRenamedOptionModule nameValuePair
88
mapAttrs' listToAttrs filter;
@@ -14,7 +14,7 @@ let
1414
baseDir = "/run/dovecot2";
1515
stateDir = "/var/lib/dovecot";
1616

17-
sieveScriptSettings = mapAttrs' (to: from: nameValuePair "sieve_${to}" "${stateDir}/sieve/${from}") cfg.sieve.scripts;
17+
sieveScriptSettings = mapAttrs' (to: _: nameValuePair "sieve_${to}" "${stateDir}/sieve/${to}") cfg.sieve.scripts;
1818
imapSieveMailboxSettings = listToAttrs (flatten (imap1 (idx: el:
1919
singleton {
2020
name = "imapsieve_mailbox${toString idx}_name";

0 commit comments

Comments
 (0)