Skip to content

Commit

Permalink
capnp-rpc 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGibb committed Dec 3, 2024
1 parent c8976a7 commit e963fbf
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
11 changes: 6 additions & 5 deletions eon.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ depends: [
"letsencrypt" {= "dev"}
"cohttp-eio" {= "dev"}
"mirage-crypto-rng-eio"
# capnp
"capnp-rpc-unix"
# cap
"capnp-rpc-unix" {>= "2.0"}
# hibernia
"wol" {= "dev"}
"wol-eio" {= "dev"}
]
Expand Down Expand Up @@ -66,9 +67,9 @@ pin-depends: [
["cohttp-lwt.dev" "git+https://github.com/mirage/ocaml-cohttp#e5a66f1c1e7c2e5051723e09260222994dff40cf"]
["cohttp-lwt-unix.dev" "git+https://github.com/mirage/ocaml-cohttp#e5a66f1c1e7c2e5051723e09260222994dff40cf"]
# Eio port https://github.com/mirage/capnp-rpc/
["capnp-rpc.dev" "git+https://github.com/mirage/capnp-rpc.git#c95f619d48754f141eb1df1d5786e349a1e2b039"]
["capnp-rpc-net.dev" "git+https://github.com/mirage/capnp-rpc.git#c95f619d48754f141eb1df1d5786e349a1e2b039"]
["capnp-rpc-unix.dev" "git+https://github.com/mirage/capnp-rpc.git#c95f619d48754f141eb1df1d5786e349a1e2b039"]
["capnp-rpc.dev" "git+https://github.com/mirage/capnp-rpc.git#252fd9b064367270a48d6bc73cbcd8f188f353d9"]
["capnp-rpc-net.dev" "git+https://github.com/mirage/capnp-rpc.git#252fd9b064367270a48d6bc73cbcd8f188f353d9"]
["capnp-rpc-unix.dev" "git+https://github.com/mirage/capnp-rpc.git#252fd9b064367270a48d6bc73cbcd8f188f353d9"]
["wol.dev" "git+https://github.com/RyanGibb/ocaml-wake-on-lan.git#dd5f5e5d29900d7a2e0b884d3105037d2bb00df3"]
["wol-eio.dev" "git+https://github.com/RyanGibb/ocaml-wake-on-lan.git#dd5f5e5d29900d7a2e0b884d3105037d2bb00df3"]
]
35 changes: 17 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
opam-nix.url = "github:tweag/opam-nix";
flake-utils.url = "github:numtide/flake-utils";
# we pin opam-nix's nixpkgs to follow the flakes, avoiding using two different instances
opam-nix.inputs.nixpkgs.follows = "nixpkgs";

# maintain a different opam-repository to those pinned upstream
opam-repository = {
url = "github:ocaml/opam-repository";
flake = false;
};
opam-nix.inputs.opam-repository.follows = "opam-repository";
# opam-repository = {
# url = "github:ocaml/opam-repository";
# flake = false;
# };
# opam-nix.inputs.opam-repository.follows = "opam-repository";

# deduplicate flakes
opam-nix.inputs.flake-utils.follows = "flake-utils";
Expand Down

0 comments on commit e963fbf

Please sign in to comment.