18 lines
342 B
Perl
18 lines
342 B
Perl
|
|
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)
|