mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01: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
|
} else
|
||||||
let
|
let
|
||||||
smtpProto = if smtp.tls.enable then "smtps" else "smtp";
|
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 =
|
smtpBaseUrl =
|
||||||
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue