diff --git a/MODULE.bazel b/MODULE.bazel index 5fd99f767404..875e61da383a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -13,7 +13,7 @@ local_path_override( # see https://registry.bazel.build/ for a list of available packages -bazel_dep(name = "apple_support", version = "1.15.1") +bazel_dep(name = "apple_support", version = "1.15.1-codeql.1") bazel_dep(name = "platforms", version = "0.0.9") bazel_dep(name = "rules_go", version = "0.47.0") bazel_dep(name = "rules_pkg", version = "0.10.1") diff --git a/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/MODULE.bazel b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/MODULE.bazel new file mode 100644 index 000000000000..a58d520fee20 --- /dev/null +++ b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/MODULE.bazel @@ -0,0 +1,17 @@ +module( + name = "apple_support", + version = "1.15.1-codeql.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_apple_support", +) + +bazel_dep(name = "bazel_skylib", version = "1.3.0") +bazel_dep(name = "platforms", version = "0.0.9") + +bazel_dep( + name = "stardoc", + version = "0.6.2", + dev_dependency = True, + repo_name = "io_bazel_stardoc", +) diff --git a/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/patches/module.patch b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/patches/module.patch new file mode 100644 index 000000000000..59fc49ec7b37 --- /dev/null +++ b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/patches/module.patch @@ -0,0 +1,20 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index 6b06c3b..99bc7c6 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,6 +1,6 @@ + module( + name = "apple_support", +- version = "0", ++ version = "1.15.1-codeql.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_apple_support", +@@ -16,7 +16,3 @@ bazel_dep( + repo_name = "io_bazel_stardoc", + ) + +-apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension") +-use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains") +- +-register_toolchains("@local_config_apple_cc_toolchains//:all") diff --git a/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/source.json b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/source.json new file mode 100644 index 000000000000..57a1f2137fea --- /dev/null +++ b/misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-xLsrc2fEhDgjAK7nW+WYuS+EeJb7MbvSLzojRq32aoA=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/apple_support/releases/download/1.15.1/apple_support.1.15.1.tar.gz", + "patches": { + "module.patch": "sha256-K06B2W9t6nKcU8S5u6cWeNIdw/vGWWKAoJdGiI8CSS0=" + }, + "patch_strip": 1 +} diff --git a/misc/bazel/registry/modules/apple_support/metadata.json b/misc/bazel/registry/modules/apple_support/metadata.json new file mode 100644 index 000000000000..8a0e54c9abd9 --- /dev/null +++ b/misc/bazel/registry/modules/apple_support/metadata.json @@ -0,0 +1,5 @@ +{ + "versions": [ + "1.15.1-codeql.1" + ] +}