Skip build dependencies to avoid downloading bottles
Dependency.to_formula() in the following line will cause a CoreTapFormulaUnavailableError then download all dependency bottles in FormulaInstaller.verfi_deps_exist()
This commit is contained in:
parent
db723f5dd7
commit
193d6d3ff2
@ -112,6 +112,8 @@ class Dependency
|
||||
|
||||
deps.each do |dep|
|
||||
next if dependent.name == dep.name
|
||||
# avoid downloading build dependency bottles
|
||||
next if dep.build? && dependent.pour_bottle? && Homebrew::EnvConfig.install_from_api?
|
||||
|
||||
case action(dependent, dep, ignore_missing: ignore_missing, &block)
|
||||
when :prune
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user