From 7fb40c6503fb9dc3fd1042d2883ab20bf7e2c808 Mon Sep 17 00:00:00 2001 From: Pavel Goran Date: Thu, 2 Aug 2018 22:46:00 +0700 Subject: nixos/tomcat: correct type specification for virtualHosts The wrong specification was introduced as part of commit 472f16d. Fixes #44361. --- nixos/modules/services/web-servers/tomcat.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/web-servers/tomcat.nix b/nixos/modules/services/web-servers/tomcat.nix index d8ccb7ca65d6..3a552f7a7502 100644 --- a/nixos/modules/services/web-servers/tomcat.nix +++ b/nixos/modules/services/web-servers/tomcat.nix @@ -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 = []; }; }; -- cgit 1.4.1