Merge pull request #101773 from oxalica/rust-analyzer

This commit is contained in:
Jörg Thalheim
2020-11-09 14:26:21 +01:00
committed by GitHub
9 changed files with 939 additions and 1500 deletions
@@ -18,4 +18,8 @@ rec {
rustcSrc = callPackage ./rust-src.nix {
inherit rustc;
};
rustLibSrc = callPackage ./rust-lib-src.nix {
inherit rustc;
};
}
@@ -0,0 +1,11 @@
{ stdenv, rustc }:
stdenv.mkDerivation {
name = "rust-lib-src";
src = rustc.src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mv library $out
'';
}