aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2020-07-03 23:22:16 -0400
committerRobert Helgesson <robert@rycee.net>2020-07-04 12:21:02 +0200
commit5f189acce44dc39ea4055bfd8064adaf90d7fb5a (patch)
tree9283c14aafc4e0a7afa77f5922bd062409a8e4b2 /modules
parent7dc322c1ebe049dde356386ff46809c13bcfbff9 (diff)
neomutt: fix SMTP port string
Fix the SMTP port string from #1374 by properly converting the integer port into a string. PR #1377
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/neomutt.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/neomutt.nix b/modules/programs/neomutt.nix
index 9a0f0113d36..f2a6bbfff08 100644
--- a/modules/programs/neomutt.nix
+++ b/modules/programs/neomutt.nix
@@ -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 {