Skip to content

Commit bb8f466

Browse files
krukowCopilot
andcommitted
fix: add bb clojure -P to populate ~/.deps.clj tools jar
The system clojure CLI stores its tools jar in the install directory, not in ~/.deps.clj/. Only bb's built-in deps.clj writes there. Without `bb clojure -P`, the mounted ~/.deps.clj/ is missing the tools jar that bb expects at runtime. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cd0d2b8 commit bb8f466

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ jobs:
4747
sudo ln -sf $(which java) /usr/local/bin/java
4848
- name: Pre-download Clojure deps and ensure global access
4949
run: |
50-
# Download deps and tools jar (version pinned to match bb's built-in deps.clj)
50+
# Download Maven deps via system clojure
5151
clojure -P
52+
# Populate ~/.deps.clj/ with the tools jar that bb expects —
53+
# the system clojure stores its jar in the install dir, not ~/.deps.clj/
54+
bb clojure -P
5255
# Ensure deps directories are readable by any user
5356
chmod -R a+rX ~/.m2/repository ~/.deps.clj 2>/dev/null || true
5457
- name: Install gh-aw extension

.github/workflows/daily-doc-updater.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)