I'm surprised by this bug. https://github.com/babashka/bbin/pull/108
Could it be that the user overrode :mvn/repos in their global deps.edn? I guess deps.edn doesn't merge the default settings with what the user overrode so it's possible they lose clojars by providing only maven or so?
I don't feel like I have enough info to understand. What was the user's original project deps.edn? what was their user deps.edn? What effective version of tools.deps or Clojure CLI is being used?
can you take it out of bb land and into just CLI?
I don't have enough information still either, but my question, apart from the issue, is: how does mvn/repos merge?
central and clojars are in the root deps.edn, deps.edn sources are merge-with merge'd
so effectively the :mvn/repo maps in the deps.edn chains are merged from root to ext
right.
so you could "remove" clojars by {:mvn/repos {"clojars" nil}}
in user or project deps.edn
or central (but that will likely break your ability to get/check clojure itself and most stuff will break)
good catch
I'll mention that in the issue.