From 0d2a8ef95e7fe083a543eebe7978aa16679eb3a1 Mon Sep 17 00:00:00 2001 From: Javier Maestro Date: Wed, 11 Dec 2024 21:53:28 +0000 Subject: [PATCH] fix: #120 broke macos 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. --- apt/private/deb_translate_lock.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt/private/deb_translate_lock.bzl b/apt/private/deb_translate_lock.bzl index 50e1b10..355d8ed 100644 --- a/apt/private/deb_translate_lock.bzl +++ b/apt/private/deb_translate_lock.bzl @@ -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"], ) @@ -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"], )