mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
cargo: remove runtime references to cargo-bootstrap
The shell completions were being generated by cargo-bootstrap instead of by the just-built cargo, which meant they were embedding the cargo-bootstrap path and causing it to be part of the runtime closure.
This commit is contained in:
parent
fd3fafbc0f
commit
e749b0a6c7
1 changed files with 3 additions and 3 deletions
|
|
@ -80,9 +80,9 @@ rustPlatform.buildRustPackage.override
|
|||
if stdenv.buildPlatform.canExecute stdenv.hostPlatform then
|
||||
''
|
||||
installShellCompletion --cmd cargo \
|
||||
--bash <(CARGO_COMPLETE=bash cargo) \
|
||||
--fish <(CARGO_COMPLETE=fish cargo) \
|
||||
--zsh <(CARGO_COMPLETE=zsh cargo)
|
||||
--bash <(CARGO_COMPLETE=bash $out/bin/cargo) \
|
||||
--fish <(CARGO_COMPLETE=fish $out/bin/cargo) \
|
||||
--zsh <(CARGO_COMPLETE=zsh $out/bin/cargo)
|
||||
''
|
||||
else
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue