Closed dsheets closed 8 years ago
You are not pinning topkg
right ? My guess is that one directory up is in the path is git-managed and that this tricks the vcs configuration key which makes it infer a `Pin
build context. Could you please confirm my assumption is right.
Discovery of the vcs
configuration variable uses Topkg_vcs.find
which eventually leads to this git discovery which (unfortunately in this case) works robustly if you are a in a subdirectory of a git repository.
So I guess I should check something like: the returned git directory is the one where pkg/pkg.ml
lies or some kind of similar condition.
That is correct: I am not pinning topkg
and the opam root is a subdirectory of a checked out git repository (but is not itself tracked).
Apparently @pqwy ran into the same kind of issue. 7dfc295 should fix this, I'll make a new release promptly.