-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Mirage Packages #646
base: master
Are you sure you want to change the base?
Conversation
This also allows VPNkit to be build with OCaml 5+ Signed-off-by: Patrick Ferris <[email protected]>
e493f00
to
24caf7a
Compare
Icmpv4_wire.set_icmpv4_id raw id'; | ||
Icmpv4_wire.set_icmpv4_csum raw 0; | ||
Icmpv4_wire.set_icmpv4_csum raw (Tcpip_checksum.ones_complement raw); | ||
Cstruct.BE.set_uint16 raw 5 id'; (* TODO: Upstream *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch, please upstream the missing bindings (from when I removed ppx_cstruct)
src/hostnet_test/dune
Outdated
@@ -2,5 +2,5 @@ | |||
(name main) | |||
(libraries hostnet cmdliner alcotest logs.fmt protocol-9p mirage_dns | |||
mirage-clock-unix charrua-client.mirage forwarder sha | |||
mirage-random-stdlib arp.mirage) | |||
mirage-random-stdlib arp.mirage tcpip.ipv6 mirage-crypto-rng.unix) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the mirage-random-stdlib is to be avoided (deprecated) and shouldn't be needed. Just use Mirage_crypto_rng directly (and Mirage_crypto_rng_unix.use_default ()).
Signed-off-by: Patrick Ferris <[email protected]>
"mirage-clock" {>= "4.0.0"} | ||
"mirage-clock-unix" {>= "4.0.0"} | ||
"mirage-random" {>= "3.0.0"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"mirage-clock" {>= "4.0.0"} | |
"mirage-clock-unix" {>= "4.0.0"} | |
"mirage-random" {>= "3.0.0"} | |
"mirage-sleep" {>= "4.0.0"} | |
"mirage-mtime" {>= "5.0.0"} |
@@ -52,9 +52,8 @@ depends: [ | |||
"mirage-net" {>= "4.0.0"} | |||
"mirage-time" {>= "3.0.0"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"mirage-time" {>= "3.0.0"} |
A few remarks about this PR:
This PR will depend on updating hvsock (mirage/ocaml-hvsock#69) and ocaml-9p (mirage/ocaml-9p#146).
I was also struggling to build on nixos, but I'll work on that.