Skip to content

Commit 35bc45d

Browse files
committed
don't link dependencies with conflicts
The new anyzig formula depends on the zig formula, but, it also conflicts_with it because they both install `zig` binaries. This works fine with brew but test-bot is failing because it's linking the dependency before installing, even with the conflict. The fix is to disable linking dependencies that are also marked as conflicts.
1 parent 7b10bf8 commit 35bc45d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tests/formulae.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def setup_formulae_deps_instances(formula, formula_name, args:)
158158
link_formula = Formulary.factory(name)
159159
next if link_formula.keg_only?
160160
next if link_formula.linked_keg.exist?
161+
next if unlink_formulae.include?(name)
161162

162163
test "brew", "link", name
163164
end

0 commit comments

Comments
 (0)