diff --git a/.bazelrc b/.bazelrc index 496f91b705..7ba562e2a7 100644 --- a/.bazelrc +++ b/.bazelrc @@ -59,6 +59,8 @@ build --nolegacy_external_runfiles # https://github.com/bazelbuild/bazel/issues/23043. build --incompatible_autoload_externally= +common --incompatible_disable_native_repo_rules + ############################################################################### ## Bzlmod ############################################################################### diff --git a/examples/nix_cross_compiling/bazel/platforms/BUILD.bazel b/examples/nix_cross_compiling/bazel/platforms/BUILD.bazel index bed7e836e1..70cb4df0db 100644 --- a/examples/nix_cross_compiling/bazel/platforms/BUILD.bazel +++ b/examples/nix_cross_compiling/bazel/platforms/BUILD.bazel @@ -4,7 +4,7 @@ package(default_visibility = ["//visibility:public"]) platform( name = "host", constraint_values = ["@platforms//os:nixos"], - parents = ["@local_config_platform//:host"], + parents = ["@platforms//host"], ) # Platforms