mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-22 05:07:45 +03:00
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
|
|
''
|