Skip to content

Commit 35f13e9

Browse files
committed
[ocsigen-start.8.0.0] Constrain ocsigen-i18n < 5.0.0
ocsigen-i18n 5.0.0 generates [@@deriving json] directly in --eliom mode. ocsigen-start 8.0.0 has a sed post-processing step that also adds [@@deriving json], causing duplication and a compilation error. Add an upper bound to prevent the incompatible combination. Also remove the duplicate ocsigen-i18n dependency entry.
1 parent 2a4b439 commit 35f13e9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/ocsigen-start/ocsigen-start.8.0.0

packages/ocsigen-start/ocsigen-start.8.0.0/opam

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ depends: [
2020
"pgocaml" {>= "4.0"}
2121
"pgocaml_ppx" {>= "4.0"}
2222
"safepass" {>= "3.0"}
23-
"ocsigen-i18n" {>= "4.0.0"}
23+
"ocsigen-i18n" {>= "4.0.0" & < "5.0.0"}
2424
"eliom" {>= "12.0.0" & < "13.0.0"}
2525
"ocsigen-toolkit" {>= "2.7.0"}
2626
"ocsigen-ppx-rpc" {>= "1.1"}
27-
"ocsigen-i18n" {>= "3.7.0"}
2827
"yojson" {>= "1.6.0"}
2928
"resource-pooling" {>= "1.0" & < "2.0"}
3029
"cohttp-lwt-unix"

0 commit comments

Comments
 (0)