As presented in #6597, opam pin list currently fails in the following manner when the source directory isn't present:
$ opam install .
[...]
Would you like to install? [Y/n] n
$ opam pin
/usr/local/bin/opam: "chdir" failed on .../.opam-switch/sources/<pkg>: No such file or directory
I suspect other opam commands also fail in a similar manner while trying to get the git revision or similar info.
This specific chdir issue might be better fixed in the future by 69b4478 from #5966 (related to #3171, #2442, #969, …)
As presented in #6597,
opam pin listcurrently fails in the following manner when the source directory isn't present:I suspect other opam commands also fail in a similar manner while trying to get the git revision or similar info.
This specific
chdirissue might be better fixed in the future by 69b4478 from #5966 (related to #3171, #2442, #969, …)