diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index d4a797e92474a..891e3209d5b02 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -362,7 +362,7 @@ def install_fetch_deps return if @compute_dependencies.blank? compute_dependencies(use_cache: false) if @compute_dependencies.any? do |dep, options| - next false if dep.tags != [:build, :test] + next false unless dep.implicit? fetch_dependencies install_dependency(dep, options)