bazelbuild / bazelbuild/bazelisk
Environment variables passed while launching bazelisk is not available for bazel
- Dominant language
- Go
- Stars
- 2.7k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have a setup where a python file sets few environment variable (e.g. ANDROID_NDK_PATH). In the same python file, I make call to bazelisk through "subprocess.check_call" and by passing the environment variables.
What I observed is that I do not get the same environment variables available to bazel. i.e. I can not access these variables in bazel file.
Contributor guide
Research direction
Reproduce the setup described with Python's subprocess.check_call and the ANDROID_NDK_PATH variable, then trace whether the environment reaches Bazel through Bazelisk. Done means variables passed by the Python launcher are available from the Bazel file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100