1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-07 09:39:49 +01:00

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) { optionalAttrs (tls.enable && tls.certificatesFile != null) {
CertificateFile = tls.certificatesFile; CertificateFile = toString tls.certificatesFile;
}; };
masterSlaveMapping = { masterSlaveMapping = {