Skip to content
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]: CARGO-HOME & RUSTUP_HOME environment variables aren't set to proper PATH #5877

Closed
3 tasks done
AtifChy opened this issue May 31, 2024 · 2 comments
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@AtifChy
Copy link

AtifChy commented May 31, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

rustup, rustup-gnu, rustup-msvc

Expected/Current Behaviour

image

Steps to Reproduce

PS> echo $env:RUSTUP_HOME
PS> cd $env:RUSTUP_HOME
Set-Location: Cannot find path 'C:\Users\iftak\$persist_dir\.rustup' because it does not exist.

Possible Solution

Set these environment variables to actual PATH

Scoop and Buckets Version

Current Scoop version:
dec42327 (HEAD -> develop, origin/develop) fix(decompress): Match `extract_dir`/`extract_to` and archives (#5983)

'main' bucket:
afa93f460 (HEAD -> master, origin/master, origin/HEAD) terraform-provider-ibm: Update to version 1.66.0

'extras' bucket:
c27426248 (HEAD -> master, origin/master, origin/HEAD) sidekick-browser: Update to version 122.60.1.39616-1131b84

'sysinternals' bucket:
b29cb67 (HEAD -> main, origin/main, origin/HEAD) sysinternals-suite: Update to version 2024.05.28

'nerd-fonts' bucket:
a6b9261 (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 1.0.13

'java' bucket:
5d535b19 (HEAD -> master, origin/master, origin/HEAD) temurin11-nightly-jre: Update to version 11.0.24-5.0.ea

Scoop Config

last_update           : 31-May-24 10:39:09 PM
aria2-warning-enabled : False
alias                 :
scoop_branch          : develop
scoop_repo            : https://github.com/ScoopInstaller/Scoop
use_sqlite_cache      : True
default_architecture  : 64bit
cat_style             : auto
aria2-enabled         : False
use_isolated_path     : True

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@AtifChy AtifChy added the bug Something isn't working label May 31, 2024
@ifeelagood
Copy link

ifeelagood commented Jul 15, 2024

mine is simply set to $persist_dir\.cargo
think was changed at #5013

@LucasOe
Copy link

LucasOe commented Jul 15, 2024

This happens because of ScoopInstaller/Scoop#6043, using the development branch with scoop config scoop_branch develop fixes the problem for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants