Fork me on GitHub
#cider
<
2023-09-22
>
Karl Xaver22:09:25

cider-enrich-classpath t seems to break #flow-storm: cider-jack-in won't load the modified clojure version. Haven't looked into it, but I suspect there's a problem with :classpath-overrides? deps.edn:

{:classpath-overrides {org.clojure/clojure nil} ;; for disabling the official compiler
 :deps            {com.github.jpmonettas/clojure        {:mvn/version "1.12.0-alpha4_3"}
                   com.github.jpmonettas/flow-storm-dbg {:mvn/version "3.7.3"}}}

1
vemv06:09:28

Seems plausible b/c it's the first time I hear of classpath-overrides :) I'll look into it today

vemv07:09:28

Fixed! Note that :classpath-overrides can only go within :aliases - I assume you abbreviated your example You can bump enrich-classpath by: • Git pull (if you use cider via git) • Using the latest CIDER MELPA snapshot (it will be available up to 3 hours from now) • hand-editing ~/.emacs.d/elpa/cider*/clojure.sh

Karl Xaver16:09:13

Awesome, works perfectly. Thanks for the quick fix! And yeah, had it in an alias initially, sorry for creating confusion. Should have double checked that it still works.

cider 1
vemv22:09:30

Cheers. Your testing is greatly appreciated. We are adding (WIP) the finishing details to CIDER that will make enrich-classpath shine: better Company, Corfu, *cider-doc* and mouse tooltip popups for Java documentation. It's all looking very pretty.

Karl Xaver22:09:14

(cider-version) "CIDER 1.8.0-snapshot (package: )"