Commit 5fd2473
fix: use CLJ_CONFIG for Maven local repo in GraalVM native image
bb is a GraalVM native image — JAVA_TOOL_OPTIONS and CLJ_JVM_OPTS
have no effect. tools.deps (compiled into bb) uses user.home to
find .m2/repository, which resolves to /root inside the awf sandbox.
Fix: write a deps.edn with :mvn/local-repo into ~/.deps.clj/ (already
mounted) and set CLJ_CONFIG to that directory. tools.deps reads
CLJ_CONFIG for user config and finds the :mvn/local-repo override.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c324bf8 commit 5fd2473
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | | - | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments