-
-
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
Cask install not including HOMEBREW_PREFIX/(s)bin in PATH #3630
Comments
@reitermarkus Casks don't have "post_install" do they? |
My mistake, looks like what I'm talking about is actually the Quite possible those linked issues don't apply, in that case. Is removing the Homebrew bin directory from PATH for these installs intentional, then? |
Try
|
Ah ok now I think this is probably a dupe of #3191. I'll give that flag a try next time I'm at that machine, or maybe try adding the PATH to our formula as Mike seems to be suggesting in that issue. Sort of a bummer that this broke our Cask but I'm guessing that was anticipated with the env filtering changes. |
Yep but it may not be for |
Yeah, I think |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@reitermarkus If this is something you think is worth fixing, do we need to do anything to protect it from being closed by the stalebot? |
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always follow these steps:
brew
command and notbrew install
ing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/newbrew
problem that manifests itself duringpost_install
, so I thought I met this bullet. If not please let me know if there's a better place for me to submit.brew update
and retried your prior step?brew doctor
, fixed all issues and retried your prior step?brew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
brew
commands)Features
A cask I'm trying to install is failing because the Homebrew bin directory is not included in the PATH during its post_install step. This worked until recently but is giving us the following with Homebrew 1.4.2.
The cask we were using is
dusty
, so you should be able to repro withbrew cask install dusty
, though it's pretty heavyweight and installs Docker Toolbox as a dependency. The post_install of this cask will print out the PATH.It looks like from #3576 and #3581 that it's still expected that the Homebrew bin dir be included in this PATH, but for whatever reason we're not getting it.
/usr/local
is ourHOMEBREW_PREFIX
. The PATH of the user we're runningbrew
as is:But the PATH during post_install is:
The full
env
of the user, in case it's useful:brew config
brew doctor
The text was updated successfully, but these errors were encountered: