Skip to content

Commit

Permalink
[Experiment] generate_dist_lockfile w IPv6 flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fweikert committed May 17, 2024
1 parent 540b067 commit 5b453b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ genrule(
# Instead of `bazel mod deps`, we run a simpler command like `bazel query :all` here
# so that we only trigger module resolution, not extension eval.
# Also use `--batch` so that Bazel doesn't keep a server process alive.
"$$ROOT/$(location //src:bazel) --batch --output_user_root=$$TMPDIR/output_user_root query --check_direct_dependencies=error --lockfile_mode=update :all",
"$$ROOT/$(location //src:bazel) --host_jvm_args=-Djava.net.preferIPv6Addresses=true --batch --output_user_root=$$TMPDIR/output_user_root query --jvmopt=-Djava.net.preferIPv6Addresses --check_direct_dependencies=error --lockfile_mode=update :all",
"mv MODULE.bazel.lock $$ROOT/$@",
]),
tags = ["requires-network"],
Expand Down

0 comments on commit 5b453b3

Please sign in to comment.