forked from mirrors/nixpkgs
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
|
||
|
'';
|
||
|
}
|