Fork me on GitHub
#leiningen
<
2017-08-31
>
thott02:08:40

hey folks, could anyone point me at how to make lein repl start up with a particular version of clojure from a non-project directory? I think the place to set this may be ~/.lein/profiles.clj ... I know I can specify that a project use a particular version of clojure by setting :dependencies in its project.clj but I haven't found docs that tell me how to do this when running lein repl (specifically, I'm trying to make clojure-1.9.0-alpha17 the default)

danielcompton04:08:56

Could you try putting the same in :user profiles.clj?

thott04:08:16

@danielcompton already tried in :user and also as a top-level entry in ~/.lein/profiles.clj ... neither worked for me 😕

thott04:08:24

answer I got from freenode#leiningen: "not possible right now. leiningen will always use its own version of clojure when running from non-project directory"