summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authordanbst <abcz2.uprola@gmail.com>2016-09-07 15:58:08 +0000
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-09-09 18:29:12 +0200
commit0c2d943529fcbf240fab31b7f5df2e01759a5b7f (patch)
treeb515d7f4c73ae8b6b151082a3f0d9d05330fd9ca /pkgs/servers/http
parent39ad7a9e600a3f92ea5e095fa57a0a4458df8fd9 (diff)
downloadnixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar.gz
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar.bz2
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar.lz
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar.xz
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.tar.zst
nixlib-0c2d943529fcbf240fab31b7f5df2e01759a5b7f.zip
tomcat: split default webapps to separate output (~6M)
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/tomcat/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix
index 3653679aa012..70d39e7216e8 100644
--- a/pkgs/servers/http/tomcat/default.nix
+++ b/pkgs/servers/http/tomcat/default.nix
@@ -11,10 +11,13 @@ let
       inherit sha256;
     };
     
+    outputs = [ "out" "webapps" ];
     installPhase =
       ''
         mkdir $out
         mv * $out
+        mkdir -p $webapps/webapps
+        mv $out/webapps $webapps/
       '';
     
     meta = {