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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
123 B
Nix
Raw Normal View History

2022-02-23 15:56:10 +01:00
{ runCommand, rustc }:
2022-02-23 15:56:10 +01:00
runCommand "rust-lib-src" { } ''
tar --strip-components=1 -xzf ${rustc.src}
mv library $out
''