remove unused rust-src.nix

This commit is contained in:
Sebastien Bourdeauducq 2019-04-06 17:25:37 +08:00
parent a39184d1c5
commit de02c921b5

View File

@ -1,11 +0,0 @@
{ stdenv, rustc }:
stdenv.mkDerivation {
name = "rust-src";
src = rustc.src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mv src $out
rm -rf $out/{ci,doc,driver,etc,grammar,llvm,rt,rtstartup,rustllvm,test,tools,vendor}
'';
}