dkml-installer-ocaml icon indicating copy to clipboard operation
dkml-installer-ocaml copied to clipboard

No way to change OPAMROOT during installation

Open jonahbeckford opened this issue 2 years ago • 1 comments

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 avatar Oct 31 '23 07:10 jonahbeckford

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

jonahbeckford avatar Nov 06 '23 13:11 jonahbeckford