From b2b5b9746893754c1d8fe0bbf59123967b9c23c1 Mon Sep 17 00:00:00 2001 From: Pavel Goran Date: Thu, 2 Aug 2018 23:22:45 +0700 Subject: [PATCH] nixos/tomcat: allow non-package paths in services.tomcat.webapps Resolves #44370. --- nixos/modules/services/web-servers/tomcat.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-servers/tomcat.nix b/nixos/modules/services/web-servers/tomcat.nix index d8ccb7ca65d6..341ab34220cc 100644 --- a/nixos/modules/services/web-servers/tomcat.nix +++ b/nixos/modules/services/web-servers/tomcat.nix @@ -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";