AltGr/opam-lock

dev and test depends not locked

Closed this issue · 2 comments

# ocaml-helloworld.opam
depends: [
  "ocaml"
  "dune" {build}
  "merlin" {dev}
  "ocp-indent" {dev}
  "utop" {dev}
]

if I run opam switch create ./ --locked

[WARNING] Lock file ocaml-helloworld.opam.locked is outdated, you may want to re-run opam lock:
          Dependencies present in opam file not in lock file:
            - utop
            - ocp-indent
            - merlin
rjbou commented

Thanks for the report!
it will be fixed in the new version of opam lock, that is will be intergrated in opam.
cf. referenced PR.

AltGr commented

Closing this repository, feature integrated into opam.