From 708d867ba075f917520c21022559c7b1794e0471 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Thu, 11 Mar 2021 16:50:59 +0100 Subject: [PATCH] Skip busybox test on Darwin --- tests/BUILD.bazel | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/BUILD.bazel b/tests/BUILD.bazel index 6c80584fd..5b5e06e56 100644 --- a/tests/BUILD.bazel +++ b/tests/BUILD.bazel @@ -128,7 +128,12 @@ sh_test( data = [ "//nixpkgs:srcs", "//tests/invalid_nixpkgs_package:srcs", - "@busybox_static//:bin", "@nix-unstable//:bin", + ] + select({ + "@platforms//os:linux": ["@busybox_static//:bin"], + "//conditions:default": [], + }), + target_compatible_with = [ + "@platforms//os:linux", ], )