clojure.tools.deps.alpha.reader/clojure-env crashes on Windows

Description

Clojure is installed per https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows in a fresh Windows 10 VM.

Repro in Powershell:

Environment

None

Activity

Show:

Alex Miller June 29, 2019 at 2:56 PM

Most (I suspect all) uses of tdar/clojure-env exist to get the list of config files as clj sees it. This was previously hard as the install deps.edn was otherwise at an unknown location. As of tools.deps.alpha 0.7.511, the install deps.edn is now embedded and is included automatically. As of tools.deps.alpha 0.7.516, there is a new tdar/default-deps that can be used to obtain the user and project deps files, using the same logic as clj, without shelling out. I have deprecated clojure-env and will ultimately remove it in a future release. Marking this ticket as won’t fix as it will be removed. PR sent to native-image project to replace API call.

Michiel Borkent June 28, 2019 at 5:35 PM

I don’t personally need this, but I ran into it while using a clj tool on Windows:

Alex Miller June 28, 2019 at 5:06 PM

Why do you need to do this?

(serious question, as it’s debatable whether the clojure-env function should even exist)

Won't Fix

Details

Assignee

Reporter

Priority

Created May 13, 2019 at 3:50 PM
Updated June 29, 2019 at 2:56 PM
Resolved June 29, 2019 at 2:56 PM