mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 20:41:07 +01:00
alot: allow commas in maildir path (#6989)
Previously, maildir path was not escaped in any way, so using a path with commas lead to a TypeError: ``` TypeError: expected string or bytes-like object, got 'list' ```
This commit is contained in:
parent
708074ae6d
commit
a8e2d08ffd
2 changed files with 4 additions and 4 deletions
|
|
@ -96,10 +96,10 @@ let
|
|||
sendmail_command = optionalString (alot.sendMailCommand != null) alot.sendMailCommand;
|
||||
}
|
||||
// optionalAttrs (folders.sent != null) {
|
||||
sent_box = "maildir" + "://" + maildir.absPath + "/" + folders.sent;
|
||||
sent_box = "'maildir" + "://" + maildir.absPath + "/" + folders.sent + "'";
|
||||
}
|
||||
// optionalAttrs (folders.drafts != null) {
|
||||
draft_box = "maildir" + "://" + maildir.absPath + "/" + folders.drafts;
|
||||
draft_box = "'maildir" + "://" + maildir.absPath + "/" + folders.drafts + "'";
|
||||
}
|
||||
// optionalAttrs (aliases != [ ]) {
|
||||
aliases = concatStringsSep "," aliases;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue