Encountering some behavior I don't really understand on windows (WSL), which seems to be stemming from some interaction with sci (and perhaps clojure-1.12.0-alpha4)
Whenever I try to add the org.babashka/sci lib (tried with a few versions), I get an Execution error (ExceptionInfo) at clojure.tools.deps.interop/invoke-tool (interop.clj:49) error
to reproduce:
$ clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.12.0-alpha4"}}}'
user=> (require '[clojure.repl.deps :refer [add-libs]])
nil
user=> (add-libs '{org.babashka/sci {:mvn/version "0.8.40"}})
<aforementioned error>
null
this is unfortunately causing my current efforts of playing with another library to brick :^(
I don't believe I've encountered this on my linux-box before, so i feel like it must be something to do with windows/WSL, but I will try that example on it again in the morning, to be sure.Interesting, after further study it turns out that if I include sci from the start, it seems to load fine
clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.12.0-alpha4"} org.babashka/sci {:mvn/version "0.8.40"}}}'
I don't know the exact version numbers, but a thing that I often see recommended with add-libs is to make sure the clojure CLI is up-to-date... does add-libs work with other libs on that setup? (trying to narrow down variables)
ahhh I just saw this https://clojurians.slack.com/archives/C03S1KBA2/p1688246136746249
right maybe that is it, I'll give that a check
that seems like it may have done the trick!
thank you @highpressurecarsalesm! ive been scratching my head for a while here 😅