Files
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

2025-10-09 14:15:47 +02:00
{ runCommand, rustc }:
runCommand "rust-lib-src" { } ''
tar --strip-components=1 -xzf ${rustc.src}
mv library $out
''