◐ Shell
clean mode source ↗

set `JULIA_DEPOT_PATH` by damonbayer · Pull Request #3711 · pre-commit/pre-commit

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.