deps-new

fenton 2021-06-10T18:59:18.009900Z

@seancorfield

$ clojure --version
Clojure CLI version 1.10.3.849

$ clojure -Sdescribe                                                      
{:version "1.10.3.849"
 :config-files ["/usr/share/clojure/deps.edn" "/home/fenton/.clojure/deps.edn" "deps.edn" ]
 :config-user "/home/fenton/.clojure/deps.edn"
 :config-project "deps.edn"
 :install-dir "/usr/share/clojure"
 :config-dir "/home/fenton/.clojure"
 :cache-dir ".cpcache"
 :force false
 :repro false
 :main-aliases ""
 :repl-aliases ""}

seancorfield 2021-06-10T19:00:11.010400Z

OK, that’s up to date. And confirms that ~/.clojure/deps.edn is the user file it will use.

🙂 1
seancorfield 2021-06-10T19:03:11.011100Z

I replaced my user deps with yours and ran that same clojure command in an empty folder and it worked just fine.

seancorfield 2021-06-10T19:03:26.011700Z

Is there a deps.edn in the folder where you are running that -X:new command?

fenton 2021-06-10T19:03:37.011900Z

$ clj -Spath                                                              1 ↵
src:/home/fenton/.m2/repository/org/clojure/clojure/1.10.3/clojure-1.10.3.jar:/home/fenton/.m2/repository/org/clojure/core.specs.alpha/0.2.56/core.specs.alpha-0.2.56.jar:/home/fenton/.m2/repository/org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.jar

fenton 2021-06-10T19:03:51.012200Z

seems it's not reading that deps right?

seancorfield 2021-06-10T19:04:37.013Z

Not sure what you mean. Those are the default deps I’d expect to see for clojure -Spath (without a local deps.edn file).

fenton 2021-06-10T19:06:11.014300Z

yes there was another deps.edn in ~/.clojure got rid of that and seems to work now...sorry

fenton 2021-06-10T19:06:27.014700Z

replace with your deps.edn

seancorfield 2021-06-10T19:06:39.015Z

Can you run

cat /home/fenton/.clojure/deps.edn
OK, yeah, I think your user deps.edn was messed up.

seancorfield 2021-06-10T19:07:10.015700Z

The ~/.config/clojure one is not going to be relevant on your system, based on the output of clojure -Sdescribe.