Closed EXHades closed 2 months ago
We don't support XDG_CACHE_HOME
in Homebrew on macOS, sorry.
gh
supports XDG_CACHE_HOME
by default on macOS, this issue it's just that brew seems to force override the XDG_CACHE_HOME
environment variable when calling gh
?
@EXHades Homebrew doesn't pass through XDG_CACHE_HOME
to its environment on macOS.
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I want to use
XDG_CACHE_HOME
change cache path , butbrew install
ignoreXDG_CACHE_HOME
, force create~/.cache/gh/.sigstore/root
gh
https://github.com/cli/cli/issues/9492gh attestation verify
What happened (include all command output)?
~/.cache/gh/.sigstore
should not be createdWhat did you expect to happen?
gh cache save to
XDG_CACHE_HOME="${HOME}/Library/Caches"
pathStep-by-step reproduction instructions (by running
brew
commands)