mbsync: support maildir paths containing spaces
HM would previously create several folders instead of just one with the space escaped. Fixes https://github.com/nix-community/home-manager/issues/6569
This commit is contained in:
parent
6f71acf71b
commit
b1b964ea93
1 changed files with 2 additions and 1 deletions
|
|
@ -288,7 +288,8 @@ in {
|
|||
createMaildir =
|
||||
hm.dag.entryBetween [ "linkGeneration" ] [ "writeBoundary" ] ''
|
||||
run mkdir -m700 -p $VERBOSE_ARG ${
|
||||
concatMapStringsSep " " (a: a.maildir.absPath) mbsyncAccounts
|
||||
concatMapStringsSep " " (a: escapeShellArg a.maildir.absPath)
|
||||
mbsyncAccounts
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue