rustc: Install docs in a separator output

This reduces rustc's size from 359 MiB to 186 MiB.

Maybe we should disable doc generation altogether, since it's very
slow and people who need docs will JFGI anyway. But for now I've left
it.
This commit is contained in:
Eelco Dolstra 2015-06-19 17:59:43 +02:00
parent 8c29f2f948
commit 8def3d69c7
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
outputs = [ "out" "doc" ];
preCheck = "export TZDIR=${tzdata}/share/zoneinfo";
doCheck = true;