replaceString -> replaceStrings

This commit is contained in:
niten 2023-09-25 10:05:51 -07:00
parent 333fed167f
commit d3fc1020f7
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ in {
writeEntries = filename: entries:
pkgs.writeText filename (concatStringsSep "\n" entries);
mkRejectList = entries: map (entry: "${entry} REJECT") entries;
escapeDot = replaceString [ "." ] [ "\\." ];
escapeDot = replaceStrings [ "." ] [ "\\." ];
in {
reject_senders = writeEntries "sender_blacklist"
(mkRejectList cfg.blacklist.senders);