tomcat: split default webapps to separate output (~6M)
(cherry picked from commit 0c2d943529
)
This commit is contained in:
parent
edf1db7bf6
commit
ede58ee5f9
|
@ -74,8 +74,8 @@ in
|
||||||
|
|
||||||
webapps = mkOption {
|
webapps = mkOption {
|
||||||
type = types.listOf types.package;
|
type = types.listOf types.package;
|
||||||
default = [ tomcat ];
|
default = [ tomcat.webapps ];
|
||||||
defaultText = "[ tomcat ]";
|
defaultText = "[ tomcat.webapps ]";
|
||||||
description = "List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat";
|
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;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "webapps" ];
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
mv * $out
|
mv * $out
|
||||||
|
mkdir -p $webapps/webapps
|
||||||
|
mv $out/webapps $webapps/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user