forked from mirrors/nixpkgs
68060f6f6f
rust-analyzer: rustcSrc -> rustLibSrc to fix build
12 lines
180 B
Nix
12 lines
180 B
Nix
{ stdenv, rustc }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "rust-lib-src";
|
|
src = rustc.src;
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mv library $out
|
|
'';
|
|
}
|