summaryrefslogtreecommitdiff
path: root/vyconf.opam
diff options
context:
space:
mode:
Diffstat (limited to 'vyconf.opam')
-rw-r--r--vyconf.opam9
1 files changed, 7 insertions, 2 deletions
diff --git a/vyconf.opam b/vyconf.opam
index 1c338d3..1b1958d 100644
--- a/vyconf.opam
+++ b/vyconf.opam
@@ -16,8 +16,13 @@ build: [
depends: [
"menhir" {build}
"dune" {build & >= "1.4.0"}
- "ocaml-protoc" {build}
+ # The committed src/*_pbt.ml were generated by ocaml-protoc 2.x. Version 3.0
+ # emits private record types with presence tracking, which the hand-written
+ # call sites cannot construct. Pin to 2.x until the generated code + call
+ # sites are migrated to the 3.x API.
+ "ocaml-protoc" {build & < "3.0"}
"ounit2" {build}
+ "vyos1x-config" {build}
"lwt" {build & >= "4.1.0"}
"lwt_ppx" {build}
"lwt_log" {build}
@@ -29,5 +34,5 @@ depends: [
"toml" {build}
"sha" {build}
"pcre2" {build}
- "toml" {build}
+ "yojson" {build}
]