Crash with empty value of --repo_env #15430
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: bug
Description of the bug:
When a --repo_env var lacks the value part, Bazel crashes instead of using the value of that variable from the environment.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Create a trivial repository_rule that uses the env variable.
Which operating system are you running Bazel on?
Linux (NixOS)
What is the output of
bazel info release
?release 5.1.1- (@Non-Git)
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.Bazel 5.1.1, built with nix, on NixOS.
Not tested yet if this is nix/nixos specific.
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Seems like the feature is used to be broken: #12886
See also #8869
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: