Replies: 1 comment
-
The easiest way to do this is to put that dependency under an alias. So {:aliases {:projectless {:extra-deps { org.clojure/tools.deps.alpha {:git/url "https://github.com/clojure/tools.deps.alpha.git"
:sha "241cd24c35ba770aea4773ea161d45276e5d3a73"}}}}} Then you can include that alias when launching your repl: If you're connecting via cider-jack-in, press This isn't the automatic detection you asked for, but it does allow you to manually choose at launch time. Also see the docs for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I launch a REPL without a project, I'd like to automatically add
org.clojure/tools.deps.alpha
so I can useadd-libs
and add dependencies dynamicallyWhat I've done is add this to
~/.clojure/deps.edn
:And this works!
But it's probably better to turn this off somehow if I'm launching CIDER in a project with it's own
deps.edn
. I'm just not clear on how to set a:deps
only for non-project CIDER sessions.Maybe it all looks the same from the Clojure side and I need to modify something on the CIDER side - but I haven't been able to find the relevant bit in the documentation (or poking around with
C-h v
)Beta Was this translation helpful? Give feedback.
All reactions