mbsync: fix use of certificatesFile

The `tls.certificatesFile` option may be set to a path but the
`CertificateFile` attribute should be a string.

(cherry picked from commit 3743e8995a)
This commit is contained in:
paumr 2019-08-06 00:10:58 +02:00 committed by Robert Helgesson
parent 6d5246f49f
commit bb18d4c746
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -20,7 +20,7 @@ let
}
//
optionalAttrs (tls.enable && tls.certificatesFile != null) {
CertificateFile = tls.certificatesFile;
CertificateFile = toString tls.certificatesFile;
};
masterSlaveMapping = {