Merge pull request #13832 from Rylan12/source-fallback-with-api
Don't fallback to building from source with `HOMEBREW_INSTALL_FROM_API`
This commit is contained in:
commit
6b6b09deba
@ -1163,6 +1163,8 @@ class FormulaInstaller
|
||||
|
||||
if pour_bottle?(output_warning: true)
|
||||
formula.fetch_bottle_tab
|
||||
elsif Homebrew::EnvConfig.install_from_api?
|
||||
odie "Unable to build #{formula.name} from source with HOMEBREW_INSTALL_FROM_API."
|
||||
else
|
||||
formula.fetch_patches
|
||||
formula.resources.each(&:fetch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user