ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 918 forks source link

[Bug]: `CARGO-HOME` & `RUSTUP_HOME` environment variables aren't set to proper `PATH` #5877

Open AtifChy opened 3 weeks ago

AtifChy commented 3 weeks ago

Prerequisites

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