FS#78382 - [rustup] cargo, rustc, and other non-rustup binaries no longer in path

Attached to Project: Community Packages
Opened by Noah Kennedy (nomaxx117) - Thursday, 04 May 2023, 01:04 GMT
Last edited by Daniel M. Capella (polyzen) - Thursday, 04 May 2023, 01:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Orhun Parmaksız (orhun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
I updated to the most recent version of the package (see below), and now all binaries other than rustup are no longer in the path.

I'm guessing it's this change: https://github.com/archlinux/svntogit-community/commit/aa625d449c8ae40d0bad35b6b662c433a4289369

Additional info:
* 1.26.0-2

Steps to reproduce:
Update from a prior version and attempt to invoke cargo.
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Thursday, 04 May 2023, 01:13 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Thursday, 04 May 2023, 01:10 GMT
Log out/Log in. Should be fixed.
Comment by Daniel M. Capella (polyzen) - Thursday, 04 May 2023, 01:12 GMT
~~Not an issue, intentional. If you want to use one of those, symlink them to somewhere in your path that has precedence over /usr/bin, eg. /usr/local/bin should work.~~

Edit: Misunderstood Scimmia's comment, follow that instead. These symlinks should get added after sourcing /etc/profile.d/rustup-profile.sh:
https://github.com/archlinux/svntogit-community/commit/aa625d449c8ae40d0bad35b6b662c433a4289369#diff-fe19467674b687731e1732fe8b49aab0344fc0778f3734e79d1e3ec258d6cf01

Loading...