-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
brew: keep HOMEBREW_PREFIX/bin in PATH with HOMEBREW_ENV_FILTERING #3191
Conversation
Sorry but this ends up defeating much of the point of |
Are you suggesting #2875 is not an issue and should be, in fact, closed? |
I think it's an issue but the solution is using |
How can Homebrew even think about Homebrew-ed |
Just a reminder, in #2875 the "problem" is that
uses System's There is nothing on the command line that would suggest that using system's Perl is wrong |
I'm not sure I understand the question. Requirements can read the user's path with |
Em... Could you please elaborate on:
Can't we assume that those who use Homebrew have |
In
is satisfied by system's Perl even if Homebrew-ed Perl is installed and is better/newer. So... because we do not tell Homebrew to use its own Perl and |
Yes. Please check out the implementation of |
|
Yes, which is why an additional fix would be required here... |
Yes, here
Nope. Please suggest tests.
brew tests
with your changes locally?Nope
Fixes #2875.
Basically, with
HOMEBREW_ENV_FILTERING
enabled, Homebrew filters out everything, including its ownbin
directory from PATH. This PR brings peace of mind to those who doHOMEBREW_ENV_FILTERING
stuff occasionally.