formula_installer: pre-install implicit dependencies

This commit is contained in:
Eric Knibbe 2023-10-18 10:29:41 -04:00
parent ab16b59ee7
commit 0f76ade06b
No known key found for this signature in database
GPG Key ID: 179D9CDDDB814168

View File

@ -362,7 +362,7 @@ class FormulaInstaller
return if @compute_dependencies.blank? return if @compute_dependencies.blank?
compute_dependencies(use_cache: false) if @compute_dependencies.any? do |dep, options| 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 fetch_dependencies
install_dependency(dep, options) install_dependency(dep, options)