nixos/tomcat: allow non-package paths in services.tomcat.webapps

Resolves #44370.
This commit is contained in:
Pavel Goran 2018-08-02 23:22:45 +07:00
parent 65c43b4468
commit b2b5b97468

View File

@ -108,7 +108,7 @@ in
};
webapps = mkOption {
type = types.listOf types.package;
type = types.listOf types.path;
default = [ tomcat.webapps ];
defaultText = "[ pkgs.tomcat85.webapps ]";
description = "List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat";