Merge pull request #70371 from dminuoso/dovecot-fix-type

dovecot: fix wrong type in configFile option
This commit is contained in:
Christoph Hrdinka 2019-10-09 17:25:12 +02:00 committed by GitHub
commit 65be608330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ in
};
configFile = mkOption {
type = types.nullOr types.str;
type = types.nullOr types.path;
default = null;
description = "Config file used for the whole dovecot configuration.";
apply = v: if v != null then v else pkgs.writeText "dovecot.conf" dovecotConf;