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