mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
tomcat: split default webapps to separate output (~6M)
This commit is contained in:
parent
39ad7a9e60
commit
0c2d943529
2 changed files with 5 additions and 2 deletions
|
@ -74,8 +74,8 @@ in
|
|||
|
||||
webapps = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [ tomcat ];
|
||||
defaultText = "[ tomcat ]";
|
||||
default = [ tomcat.webapps ];
|
||||
defaultText = "[ tomcat.webapps ]";
|
||||
description = "List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat";
|
||||
};
|
||||
|
||||
|
|
|
@ -11,10 +11,13 @@ let
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
outputs = [ "out" "webapps" ];
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out
|
||||
mv * $out
|
||||
mkdir -p $webapps/webapps
|
||||
mv $out/webapps $webapps/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue