Skip to content

Commit

Permalink
Add explicit dependency to mirage-crypto-rng
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Leonidas-from-XIV committed Oct 9, 2024
1 parent 7771dcd commit 8d7d045
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
bos
crunch
mirage-kv-mem
(mirage-crypto-rng (>= 1.1.0))
dream-accept
dream-encoding
(graphql
Expand Down
1 change: 1 addition & 0 deletions ocamlorg.opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ depends: [
"bos"
"crunch"
"mirage-kv-mem"
"mirage-crypto-rng" {>= "1.1.0"}
"dream-accept"
"dream-encoding"
"graphql" {>= "0.14.0"}
Expand Down
3 changes: 2 additions & 1 deletion src/ocamlorg_web/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
cmarkit
ocamlorg.data
timedesc
mirage-kv-mem))
mirage-kv-mem
mirage-crypto-rng))

(rule
(deps (universe))
Expand Down

0 comments on commit 8d7d045

Please sign in to comment.