Skip to content

Commit 0017837

Browse files
committed
Enable and fix incompatible_disable_native_repo_rules
1 parent f57fe3d commit 0017837

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,15 @@ build --incompatible_merge_fixed_and_default_shell_env
6262
# https://github.com/bazelbuild/bazel/issues/23043.
6363
build --incompatible_autoload_externally=
6464

65+
common --incompatible_disable_native_repo_rules
66+
6567
###############################################################################
6668
## Bzlmod
6769
###############################################################################
6870

6971
# A configuration for disabling bzlmod.
7072
common:no-bzlmod --noenable_bzlmod --enable_workspace
73+
common:no-bzlmod --incompatible_disable_native_repo_rules
7174

7275
# Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock
7376
common --lockfile_mode=off

examples/nix_cross_compiling/bazel/platforms/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package(default_visibility = ["//visibility:public"])
44
platform(
55
name = "host",
66
constraint_values = ["@platforms//os:nixos"],
7-
parents = ["@local_config_platform//:host"],
7+
parents = ["@platforms//host"],
88
)
99

1010
# Platforms

0 commit comments

Comments
 (0)