-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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.sh: don't set HOMEBREW_NO_INSTALL_FROM_API
automatically.
#15765
brew.sh: don't set HOMEBREW_NO_INSTALL_FROM_API
automatically.
#15765
Conversation
HOMEBREW_NO_INSTALL_FROM_API
automatically.
In Installation.md, drop the "Note that this will automatically be set" paragraph as well. |
My understanding from conversations with Bo98 is that this should now work fine on both older macOS versions and non-default prefixes. Similarly, it's super confusing when this is set automatically and you can't figure out why...
@EricFromCanada good catch, done, thanks. |
Pretty sure @Bo98 is out for a bit so: gonna merge this as-is for now. |
FWIW, this change seems to have broken a bunch of formula installs on a non-default prefix, e.g.:
Looks like attempting to install a formula that depends on Setting |
Reverting in #15768. |
Ah forgot we were still doing this on older macOS. The breakage however wasn't expected - I'm guessing there's an edge case in dependency installs as that's the one area that probably hasn't been fully tested. Will take a look as soon as I can. |
Older macOS and non-default prefixes too. |
Thanks for the quick response and revert. I can confirm that everything went back to working after #15768 was merged. (This issue notwithstanding, eventually having API installs enabled on non-default prefixes would of course be great). |
I agree. Do we know why the API installs don’t work on non-default prefixes? Homebrew technically doesn’t support having a non-default prefix, but I’m interested to look into it to see if a non-intrusive fix is possible. |
My understanding from conversations with Bo98 is that this should now work fine on both older macOS versions and non-default prefixes.
Similarly, it's super confusing when this is set automatically and you can't figure out why...