*REPIN environment variables in MODULE.bazel.lock
#3828
Unanswered
rdesgroppes
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! We're using
rules_rust(0.68.1 as we speak) withbzlmodand found out it stores environment variables in theMODULE.bazel.lockfile, i.e. something like:When repinning, (
CARGO_BAZEL_REPIN=1 bazel ...,REPIN=1 bazel ...,bazel ... --repo_env=CARGO_BAZEL_REPIN=1,bazel ... --repo_env=REPIN=1), the corresponding environment variable is reflected in the updatedMODULE.bazel.lock, either:or:
This poses problem with
bazel ... --lockfile_mode=errorwhich then fails due to the discrepancy:I'd therefore have a few questions:
Beta Was this translation helpful? Give feedback.
All reactions