abate
1
opam clean -c
opam switch create download --empty
OPAMFETCH="XXXX" opam install ocaml --download-only --debug
I’m trying to understand how the OPAMFETCH
variable actually works.
The example above should fail, correct ? It does not on my machine. So I suspect that the variable is not taken into account.
My ultimate goal is to set export OPAMFETCH="scripts/wrapper_fetch.sh"
.
Anybody has a minute to spare to tell me what I’m doing wrong here ?
I tried using opam 2.2.0~beta3 and i’m not noticing any issues. Maybe this was fixed somewhere between 2.1 and 2.2.
$ OPAMFETCH="XXXX" opam source core.v0.9.0
Fatal error:
"XXXX": command not found.
We’re about to release rc1 in a couple days and planning on a final release on the 1st of July so there shouldn’t be any more wait.
1 Like
abate
3
I confirm this works correctly with the latest rc release, but it does not with version 2.1.6.
Looking forward to try 2.2.0 final !
thank you !
any chance this was due to the tarball already being in your download cache?
the opam clean -c
above should prevent that
1 Like