This sub-tree houses bzlmod test-modules for the rules_nixpkgs component modules as recommended by the Bazel Central Registry.
NOTE, the rules_go tests are split into separate workspace mode and bzlmod mode tests. Please keep these two test cases in sync.
The reason is that the Bazel module rules_go refers to itself as @rules_go
,
while the Bazel workspace for rules_go refers to itself as
@io_bazel_rules_go
. In principle, Bazel offers to remap workspace names.
However, this would turn either the workspace or the bzlmod case into a very
unusual use-case of rules_go, and would diminish the value of the test-case,
as it would be not cover how users would use rules_go in either workspace or
bzlmod mode.