Skip to content

fix: use ctx.getenv instead of ctx.os.environ.get#444

Open
cloudhan wants to merge 1 commit intomainfrom
cloudhan/getenv
Open

fix: use ctx.getenv instead of ctx.os.environ.get#444
cloudhan wants to merge 1 commit intomainfrom
cloudhan/getenv

Conversation

@cloudhan
Copy link
Collaborator

@cloudhan cloudhan commented Feb 1, 2026

Because retrieving an environment variable from the dictionary does not establish a dependency from a repository rule or module extension to the environment variable.

See https://bazel.build/rules/lib/builtins/repository_os.html#environ

Because retrieving an environment variable from the dictionary does not
establish a dependency from a repository rule or module extension to the
environment variable.
@cloudhan cloudhan mentioned this pull request Feb 12, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant