summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/tomcat.nix
diff options
context:
space:
mode:
authorPavel Goran <me@pvgoran.name>2018-08-02 23:22:45 +0700
committerPavel Goran <me@pvgoran.name>2018-08-02 23:26:21 +0700
commitb2b5b9746893754c1d8fe0bbf59123967b9c23c1 (patch)
tree255abb2f2496c1577f73c2f72bde1332877ddc84 /nixos/modules/services/web-servers/tomcat.nix
parent65c43b44684506b629fd4effeeca59412344eea6 (diff)
downloadnixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.gz
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.bz2
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.lz
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.xz
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.zst
nixpkgs-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.zip
nixos/tomcat: allow non-package paths in services.tomcat.webapps
Resolves #44370.
Diffstat (limited to 'nixos/modules/services/web-servers/tomcat.nix')
-rw-r--r--nixos/modules/services/web-servers/tomcat.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/tomcat.nix b/nixos/modules/services/web-servers/tomcat.nix
index d8ccb7ca65d..341ab34220c 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";