rust-src: shrink the size

This commit is contained in:
oxalica 2019-11-01 23:02:34 +08:00
parent cf2a4fff01
commit 24af7ef427
No known key found for this signature in database
GPG key ID: CED392DE0C483D00

View file

@ -6,6 +6,6 @@ stdenv.mkDerivation {
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mv src $out
rm -rf $out/{ci,doc,driver,etc,grammar,llvm,rt,rtstartup,rustllvm,test,tools,vendor}
rm -rf $out/{ci,doc,etc,grammar,llvm-project,llvm-emscripten,rtstartup,rustllvm,test,tools,vendor,stdarch}
'';
}