diff options
author | Pavel Goran <me@pvgoran.name> | 2018-08-02 23:22:45 +0700 |
---|---|---|
committer | Pavel Goran <me@pvgoran.name> | 2018-08-02 23:26:21 +0700 |
commit | b2b5b9746893754c1d8fe0bbf59123967b9c23c1 (patch) | |
tree | 255abb2f2496c1577f73c2f72bde1332877ddc84 /nixos | |
parent | 65c43b44684506b629fd4effeeca59412344eea6 (diff) | |
download | nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.gz nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.bz2 nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.lz nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.xz nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.tar.zst nixlib-b2b5b9746893754c1d8fe0bbf59123967b9c23c1.zip |
nixos/tomcat: allow non-package paths in services.tomcat.webapps
Resolves #44370.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-servers/tomcat.nix | 2 |
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 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"; |