Skip to content

Commit cb3fba3

Browse files
Add explicit dependency to mirage-crypto-rng
The old version 0.10.6 fails with ``` File "src/ocamlorg_web/lib/ocamlorg_web.ml", line 12, characters 35-69: 12 | Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression is packed module, but the expected type is unit ``` So this adds the dependency to the build files as well as to the OPAM files.
1 parent 7771dcd commit cb3fba3

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

dune-project

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
bos
3939
crunch
4040
mirage-kv-mem
41+
(mirage-crypto-rng (>= 0.11.0))
4142
dream-accept
4243
dream-encoding
4344
(graphql

ocamlorg.opam

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ depends: [
2525
"bos"
2626
"crunch"
2727
"mirage-kv-mem"
28+
"mirage-crypto-rng" {>= "0.11.0"}
2829
"dream-accept"
2930
"dream-encoding"
3031
"graphql" {>= "0.14.0"}

src/ocamlorg_web/lib/dune

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
cmarkit
1111
ocamlorg.data
1212
timedesc
13-
mirage-kv-mem))
13+
mirage-kv-mem
14+
mirage-crypto-rng))
1415

1516
(rule
1617
(deps (universe))

0 commit comments

Comments
 (0)