Should HOMEBREW_INSTALL_FROM_API prevent installation of formula with "--HEAD" option? #4009
Unanswered
Cueball
asked this question in
Everyday usage
Replies: 1 comment 1 reply
-
As far as I know build from source is not supported through the api since the api only knows bottles. Cc @Rylan12 for info and maybe improving the error |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Been redoing my shell startup and general dotfiles; moved from
rbenv
toasdf
in the process.Attempted to install
asdf
with--HEAD
:which it definitely is [asdf.rb:7].
Some digging pointed me towards
HOMEBREW_INSTALL_FROM_API
which admittedly I turned on without much investigation because "ooh new shiny and good feature‼1!" [not wrong, but I still didn't do any due diligence.]Trying the
asdf
HEAD
install withHOMEBREW_INSTALL_FROM_API
unset seems to work fine:From looking at Homebrew/brew#13439 it seems as though installing from source, and thus via
--HEAD
should probably not be allowed withHOMEBREW_INSTALL_FROM_API
, but in all the other searching I've done, I can't find evidence or documentation of this.If I can't install the occasional formula from
--HEAD
without losing the benefits of API install or jumping through hoops unsetting env vars, I'm going to need to reconsider some workflows...Q: Should installing from HEAD be prevented with HOMEBREW_INSTALL_FROM_API enabled?
Beta Was this translation helpful? Give feedback.
All reactions