ERROR: [error loading package 'external': Both --enable_bzlmod and --enable_workspace are disabled, but one of them must be enabled to fetch external dependencies.
Note : This issue is due to https://github.com/bazelbuild/bazel/issues/23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abc4-0e4a-484d-b052-a798c3e99a8e
Platform: MacOS
Logs:
Culprit: https://github.com/bazelbuild/bazel/commit/5881c38
Note : This issue is due to https://github.com/bazelbuild/bazel/issues/23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.
CC Greenteam @fweikert