Skip to content

Commit a15212c

Browse files
committed
Old versions of irmin needs an old version of cstruct
Otherwise they fail with: ``` #=== ERROR while compiling irmin.1.4.0 ========================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/opam/opam-repository # path ~/.opam/4.12/.opam-switch/build/irmin.1.4.0 # command ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p irmin -j 47 # exit-code 1 # env-file ~/.opam/log/irmin-8-7b617e.env # output-file ~/.opam/log/irmin-8-7b617e.out ### output ### [..] # File "src/irmin/type.ml", line 702, characters 28-39: # 702 | let cstruct s = (int 0) + Cstruct.len s # ^^^^^^^^^^^ # Error: Unbound value Cstruct.len ```
1 parent 43331ec commit a15212c

File tree

2 files changed

+2
-2
lines changed
  • packages/irmin

2 files changed

+2
-2
lines changed

packages/irmin/irmin.1.3.2/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ depends: [
1818
"result" {< "1.5"}
1919
"fmt" {>= "0.8.0"}
2020
"uri" {>= "1.3.12"}
21-
"cstruct" {>= "1.6.0"}
21+
"cstruct" {>= "1.6.0" & < "6.1"}
2222
"jsonm" {>= "1.0.0"}
2323
"lwt" {>= "2.4.7"}
2424
"ocamlgraph"

packages/irmin/irmin.1.4.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ depends: [
1818
"result" {< "1.5"}
1919
"fmt" {>= "0.8.0"}
2020
"uri" {>= "1.3.12"}
21-
"cstruct" {>= "1.6.0"}
21+
"cstruct" {>= "1.6.0" & < "6.1"}
2222
"jsonm" {>= "1.0.0"}
2323
"lwt" {>= "2.4.7"}
2424
"ocamlgraph"

0 commit comments

Comments
 (0)