You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use git bash (inside the "Terminal" program) as my shell when developing ocaml on windows. Here's the output of opam env from a project with a local opam switchh;
Note that each element of PATH has /cygdrive prefixed to it despite not being in a cygwin environment. Fortunately there's an easy workaround: I run eval $(opam env | sed 's/\/cygdrive//g') to set up my environment instead.
The core issue is that opam env uses cygpath from the internal installation, but in this case it should be cygpath resolved in PATH (which would cause it to give /c/Users instead of /cygpath/c/Users)
I use git bash (inside the "Terminal" program) as my shell when developing ocaml on windows. Here's the output of
opam env
from a project with a local opam switchh;Note that each element of
PATH
has/cygdrive
prefixed to it despite not being in a cygwin environment. Fortunately there's an easy workaround: I runeval $(opam env | sed 's/\/cygdrive//g')
to set up my environment instead.My opam config report:
The text was updated successfully, but these errors were encountered: