bazelbuild / bazelbuild/bazelisk

Opt-out of PATH changes

Open
#654 1 comment 3 reactions 0 assignees View on GitHub
help wanted P3 type: feature request
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

Bazelisk changes the PATH variable, which has deleterious consequences for nix-based builds, and it seems like a number of other scenarios. There should be a way to ensure that all environment variables are passed through faithfully without modification to the underlying bazel executable.

Related:
- https://github.com/bazelbuild/bazelisk/issues/471
- https://github.com/bazelbuild/bazelisk/issues/301

Contributor guide

Open the contributing guide

Research direction

No implementation files or tests are named. Start by tracing Bazelisk's environment handling and review the related issues for intended behavior; done means providing an opt-out that passes environment variables through unchanged, including PATH, to the underlying Bazel executable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.