mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/pkg/opam-generate-ocaml-package.t

18 lines
342 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
The ocaml compiler needs to be marked inside the lock dir:
$ . ./helpers.sh
$ mkrepo
To mark it, we use `conflict-class: "ocaml-core-compiler"`
$ mkpkg foocaml <<EOF
> conflict-class: "ocaml-core-compiler"
> EOF
$ solve foocaml
Solution for dune.lock:
- foocaml.0.0.1
$ grep ocaml dune.lock/lock.dune
(ocaml foocaml)