Skip to content

Commit

Permalink
fix: #120 broke macos
Browse files Browse the repository at this point in the history
There are some tests that also run in macos and Bazel was throwing an
error because the `select`s in the package repos needed a default
condition.
  • Loading branch information
jjmaestro committed Dec 11, 2024
1 parent 936081d commit 0d2a8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apt/private/deb_translate_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dpkg_status(
controls = select({{
"//:linux_%s" % arch: ["//%s:control" % package for package in packages]
for arch, packages in _PACKAGES.items()
}}),
}} | {{ "//conditions:default": [] }}),
visibility = ["//visibility:public"],
)
Expand All @@ -103,7 +103,7 @@ filegroup(
srcs = select({{
"//:linux_%s" % arch: ["//%s" % package for package in packages]
for arch, packages in _PACKAGES.items()
}}),
}} | {{ "//conditions:default": [] }}),
visibility = ["//visibility:public"],
)
Expand Down

0 comments on commit 0d2a8ef

Please sign in to comment.