nixpkgs-suyu/pkgs/development/compilers/rust/rust-lib-src.nix

12 lines
180 B
Nix
Raw Normal View History

{ stdenv, rustc }:
stdenv.mkDerivation {
name = "rust-lib-src";
src = rustc.src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mv library $out
'';
}