Skip to content

Commit 5c81879

Browse files
committed
bazel@7: only pour arm64 linux bottle on default prefix
1 parent f65a638 commit 5c81879

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Formula/b/[email protected]

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ class BazelAT7 < Formula
3232
uses_from_macos "zip"
3333

3434
on_linux do
35+
# We use a workaround to prevent modification of the `bazel-real` binary
36+
# but this means brew cannot rewrite paths for non-default prefix
37+
on_arm do
38+
pour_bottle? only_if: :default_prefix
39+
end
3540
on_intel do
36-
# We use a workaround to prevent modification of the `bazel-real` binary
37-
# but this means brew cannot rewrite paths for non-default prefix
3841
pour_bottle? only_if: :default_prefix
3942
end
4043
end

0 commit comments

Comments
 (0)