mirror of
https://github.com/nix-community/home-manager
synced 2024-11-22 20:53:14 +00:00
neomutt: fix SMTP port string
Fix the SMTP port string from #1374 by properly converting the integer port into a string. PR #1377
This commit is contained in:
parent
7dc322c1eb
commit
5f189acce4
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ let
|
|||
} else
|
||||
let
|
||||
smtpProto = if smtp.tls.enable then "smtps" else "smtp";
|
||||
smtpPort = if smtp.port != null then ":${smtp.port}" else "";
|
||||
smtpPort = if smtp.port != null then ":${toString smtp.port}" else "";
|
||||
smtpBaseUrl =
|
||||
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
||||
in {
|
||||
|
|
Loading…
Reference in a new issue