--incompatible_disable_native_repo_rules
is incompatible with --noenable_bzlmod
#23206
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: bug
Description of the bug:
If you set both
--incompatible_disable_native_repo_rules
and--noenable_bzlmod
, anybazel build
fails with the following error (even if you have an emptyWORKSPACE.bazel
file).Which category does this issue belong to?
Core
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Enabling both flags seems to be enough to trigger the bug in any workspace.
But I created a minimal repro (literally an empty workspace) just to demonstrate that there's no local configuration issue related here: https://github.com/dgp1130/bazel-native-rules-bzlmod
Which operating system are you running Bazel on?
Linux via WSL
What is the output of
bazel info release
?release 7.2.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: