-
-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: rustup always overwrites CARGO_HOME #5013
Comments
For special use cases, you should create custom manifest instead of changing the general solution. This report are similar to #5006 |
I think including a check for the existence of those variables is an acceptable solution. |
I don't think it's acceptable, when the manifest explicitly states that environment variables will be changed/added/seted:
For users who run Compared to package manager under *nix, Scoop does not (re)build program from source, then: #5006 (comment) We just missing docs for these issue:
|
Another option: adding to |
Prefer a customized manifest here, but yes, I know the benefit of Dev Drive, and may give a config option to overwrite the default behavior of envvar creation. |
Prerequisites
Package Name
rustup
Expected/Current Behaviour
With the introduction of Windows Dev Drive, I want to move cargo folder as per Microsoft recommendation.
Scoop install always overrides CARGO_HOME, so I can't change folder to custom location.
Steps to Reproduce
Possible Solution
Do not overwrite environment variable
Main/bucket/rustup.json
Lines 33 to 35 in 727f121
Pass existing environment variables
Main/bucket/rustup.json
Lines 26 to 29 in 727f121
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response
The text was updated successfully, but these errors were encountered: