Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to explicitly set ASDF_GLOBAL_TOOL_VERSIONS_PATH #1762

Open
sirianni opened this issue Jun 27, 2024 · 0 comments
Open

Ability to explicitly set ASDF_GLOBAL_TOOL_VERSIONS_PATH #1762

sirianni opened this issue Jun 27, 2024 · 0 comments

Comments

@sirianni
Copy link

Is your feature request related to a problem? Please describe

I'm having an issue with ASDF not resolving tools correctly when running via bazel. The problem is that HOME is unset in the environment for the bazel daemon proces

Describe the proposed solution

Specify the path for the tool-versions file explicitly via ASDF_GLOBAL_TOOL_VERSIONS_PATH

Previous work was done in #1295

Describe similar asdf features and why they are not sufficient

Using ASDF_GLOBAL_TOOL_VERSIONS_FILE does not allow me to set the directory.

Describe other workarounds you've considered

I'm working around this by specifying the HOME env var explicitly when invoking bazel

--action_env=HOME=$HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant