forked from mirrors/nixpkgs
7 lines
123 B
Nix
7 lines
123 B
Nix
{ runCommand, rustc }:
|
|
|
|
runCommand "rust-lib-src" { } ''
|
|
tar --strip-components=1 -xzf ${rustc.src}
|
|
mv library $out
|
|
''
|