◐ Shell
reader mode source ↗
Skip to content

set JULIA_DEPOT_PATH#3711

Open
damonbayer wants to merge 3 commits into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH
Open

set JULIA_DEPOT_PATH#3711
damonbayer wants to merge 3 commits into
pre-commit:mainfrom
damonbayer:dmb_JULIA_DEPOT_PATH

Conversation

@damonbayer

@damonbayer damonbayer commented Jun 16, 2026

Copy link
Copy Markdown

This PR pins Julia's package depot to the per-hook environment directory by setting
JULIA_DEPOT_PATH in get_env_patch, instead of leaving it at its default (~/.julia).

I believe this is required for julia to fully qualify as a second-class language:

- 2nd class - pre-commit requires the user to install the language globally but
will install tools in an isolated fashion (current examples: python, swift,
docker).

This surfaced in a review from @asottile of pre-commit-ci/runner-image#335.

Details about JULIA_DEPOT_PATH are available here.

@damonbayer damonbayer changed the title set JULIA_DEPOT_PATH Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant