diff --git a/MODULE.bazel b/MODULE.bazel index 44b2b3f6d..d84f2e842 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -10,6 +10,11 @@ bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_a bazel_dep(name = "bazel_skylib", version = "1.3.0") bazel_dep(name = "platforms", version = "0.0.9") bazel_dep(name = "rules_swift", version = "1.18.0", repo_name = "build_bazel_rules_swift") +git_override( + module_name = "rules_swift", + commit = "8c144a2c28af3af7b78b5fd679550e6783a19194", + remote = "https://github.com/bazelbuild/rules_swift", +) bazel_dep( name = "stardoc", diff --git a/apple/repositories.bzl b/apple/repositories.bzl index 22e1d5c33..09014c7d4 100644 --- a/apple/repositories.bzl +++ b/apple/repositories.bzl @@ -122,8 +122,8 @@ def apple_rules_dependencies(ignore_version_differences = False, include_bzlmod_ _maybe( http_archive, name = "build_bazel_rules_swift", - sha256 = "bb01097c7c7a1407f8ad49a1a0b1960655cf823c26ad2782d0b7d15b323838e2", - url = "https://github.com/bazelbuild/rules_swift/releases/download/1.18.0/rules_swift.1.18.0.tar.gz", + # sha256 = "bb01097c7c7a1407f8ad49a1a0b1960655cf823c26ad2782d0b7d15b323838e2", + url = "https://github.com/bazelbuild/rules_swift/archive/8c144a2c28af3af7b78b5fd679550e6783a19194.tar.gz", ignore_version_differences = ignore_version_differences, )