cursive

Jakub Holý (HolyJak) 2025-11-22T21:51:55.880209Z

Hello! I have a problem with lein/cursive/nrepl, and so perhaps best to ask here as well: https://clojurians.slack.com/archives/C0AB48493/p1763847513671389

Jakub Holý (HolyJak) 2025-11-22T21:53:36.649629Z

Here is the repl config:

cfleming 2025-11-22T21:56:52.756289Z

Hmm, I'd have to check this, but I suspect that it may not work because of how Cursive runs lein. Lein works in two steps - it runs one process which builds the command line for the second. Cursive runs the first step in-process, so the env vars that that part uses are actually the ones of the IDE process itself. However, I think I can pass env vars to that process, and it would make sense to have the env vars configured for the run config available to that step too.

👍 1
Jakub Holý (HolyJak) 2025-11-24T07:41:59.086459Z

I see, thank you!