diskuv / dkml-installer-ocaml

The Windows-friendly distribution of OCaml
Apache License 2.0
63 stars 2 forks source link

No way to change OPAMROOT during installation #73

Open jonahbeckford opened 1 year ago

jonahbeckford commented 1 year ago

Although it is safer to ignore prior variables during an install, OPAMROOT should be settable to another location to save space.

Perhaps make it a variable in a sexp file with a USERNAME wildcard so it can be set by administrators.

jonahbeckford commented 1 year ago

Also, even when OPAMROOT is a Machine environment variable, dkml init still uses the default opamroot:

# Run eval $(opam env '--root=C:\Users\beckf\AppData\Local\opam' '--switch=Y:\source\dkml-workflows') to update the current shell environment