Skip to content

Commit 266197a

Browse files
Set the minimum constraint for ppx_deriving_yaml
Older versions like 0.1.1 exit fail with this error: ``` File "tool/ood-gen/lib/success_story.ml", line 13, characters 12-79: 13 | [@@deriving of_yaml, stable_record ~version:t ~add:[ slug; body_md; body_html ]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: Ppxlib.Deriving: 'of_yaml' is not a supported type deriving generator ```
1 parent e63a0b3 commit 266197a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
(>= 1.10.0)))
6767
olinkcheck
6868
; tools/ood-gen
69-
ppx_deriving_yaml
69+
(ppx_deriving_yaml (>= 0.3))
7070
ppx_stable
7171
ezjsonm
7272
lambdasoup

ocamlorg.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ depends: [
4444
"alcotest" {with-test}
4545
"mdx" {with-test & >= "1.10.0"}
4646
"olinkcheck"
47-
"ppx_deriving_yaml"
47+
"ppx_deriving_yaml" {>= "0.3"}
4848
"ppx_stable"
4949
"ezjsonm"
5050
"lambdasoup"

0 commit comments

Comments
 (0)