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

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;