From 3743e8995aa7d7075ede22c772dd206e3d681e75 Mon Sep 17 00:00:00 2001 From: paumr Date: Tue, 6 Aug 2019 00:10:58 +0200 Subject: [PATCH] mbsync: fix use of `certificatesFile` The `tls.certificatesFile` option may be set to a path but the `CertificateFile` attribute should be a string. --- modules/programs/mbsync.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/mbsync.nix b/modules/programs/mbsync.nix index 7e9cdb7f8..cda468dd3 100644 --- a/modules/programs/mbsync.nix +++ b/modules/programs/mbsync.nix @@ -20,7 +20,7 @@ let } // optionalAttrs (tls.enable && tls.certificatesFile != null) { - CertificateFile = tls.certificatesFile; + CertificateFile = toString tls.certificatesFile; }; masterSlaveMapping = {