cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

Does not respect LEIN_HOME #2188

Open mmmdreg opened 5 years ago

mmmdreg commented 5 years ago

In a recent release, Cursive started downloading leinengen itself. Unfortunately in certain corporate environments without direct download access, this kind of auto-downloading does not work.

I had manually downloaded lein and set LEIN_HOME and PATH so standalone it was working fine before this update. Copying this folder into ~/.lein made cursive work fine.

Expected behavior would be for cursive to respect LEIN_HOME and use it if it exists, instead of just expecting it to be under ~/.lein

ChrisLane commented 2 years ago

I've just finished cleaning up my home directory, having LEIN_HOME set to XDG_DATA_HOME/lein only to find that while this works in my terminal, Cursive completely ignores the setting.

I would really appreciate the path defaulting to $LEIN_HOME first.