Open kit-ty-kate opened 1 year ago
It is the intended behaviour. Opam files of current directory can be found at
opam
, for opam it's opam-repo-ci
opam files that are in that directory.It is the intended behaviour
I disagree. If your opam files are found in the opam
directory then the generated lock files should also be generated there and not in the root directory.
So the issue is not about opam lock input opam file location, but opam lock output file location. On opam lock output file, it is always on the current directory, where opam lock is called (see lock test). The behaviour can be changed, but it is the "normal" current behaviour of opam lock.
From dev meeting:
--lock-file-location
flag to choose location
The last command will output:
All the opam-* from the
opam
subdirectory now have a lock file in the current directory except there is no corresponding opam file.