nixos/tomcat: correct type specification for virtualHosts

The wrong specification was introduced as part of commit 472f16d.

Fixes #44361.
This commit is contained in:
Pavel Goran 2018-08-02 22:46:00 +07:00
parent 65c43b4468
commit 7fb40c6503

View File

@ -118,8 +118,15 @@ in
type = types.listOf (types.submodule {
options = {
name = mkOption {
type = types.listOf types.str;
type = types.str;
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 = [];
};
};