brew.env with brew install #6698
Unanswered
adam-moss
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew configOutput of
brew doctorDescription of issue
I have
HOMEBREW_*env variables set inbrew.env. There are being correctly shown when doing abrew configper the above, but whenbrew installis called they do not appear to be used.If I export the variables directly via my
.zshenvthey are used.Am I misunderstanding the purpose of brew.env? Are variables set this way being filtered out of the homebrew install environment?
I have verified that at
https://github.com/Homebrew/brew/blob/5457825968ba56db31de8a6fe9d7ec674e07055c/bin/brew#L312
${FILTERED_ENV[@]}does contain all of my entries frombrew.envThanks
Beta Was this translation helpful? Give feedback.
All reactions