Merge pull request #44365 from pvgoran/tomcat-correct-virtualHosts

nixos/tomcat: correct type specification for virtualHosts
This commit is contained in:
Silvan Mosberger 2018-08-02 23:32:09 +02:00 committed by GitHub
commit 6b20531d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,8 +118,15 @@ in
type = types.listOf (types.submodule { type = types.listOf (types.submodule {
options = { options = {
name = mkOption { name = mkOption {
type = types.listOf types.str; type = types.str;
description = "name of the virtualhost"; description = "name of the virtualhost";
};
webapps = mkOption {
type = types.listOf types.path;
description = ''
List containing web application WAR files and/or directories containing
web applications and configuration files for the virtual host.
'';
default = []; default = [];
}; };
}; };