-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update unikernel to recent mirage (#522)
* update unikernel to recent mirage * Add `opam-pin: false` to GH action unikernel build Co-authored-by: Sora Morimoto <[email protected]> --------- Co-authored-by: Reynir Björnsson <[email protected]> Co-authored-by: Sora Morimoto <[email protected]>
- Loading branch information
1 parent
82bad3a
commit f03cd0d
Showing
3 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
(* mirage >= 4.6.0 & < 4.7.0 *) | ||
|
||
open Mirage | ||
|
||
let main = | ||
let packages = [ package ~min:"2.9.0" "ipaddr" ] in | ||
foreign ~packages "Services.Main" (stackv4 @-> job) | ||
main ~packages "Services.Main" (stackv4v6 @-> job) | ||
|
||
let stack = generic_stackv4 default_network | ||
let stack = generic_stackv4v6 default_network | ||
|
||
let () = | ||
register "services" [ | ||
main $ stack | ||
] | ||
let () = register "services" [ main $ stack ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters