tvl-depot/users/picnoir/tvix-daemon
Picnoir 9825404388 refactor(tvix/nix-compat): move handshake function to nix-compat
Moving out the handshake route out of tvix-daemon to nix-compat.

We're bumping the protocol to version 37. It does not change anything
for us. Version 37 introduced a change in the build result
serialization. We do not implement that for now.

Tested tvix-daemon against Nix via the integration test to make sure
we did not break anything in the process.

Taking advantage of this refactor to remove the unused anyhow
dependency in tvix-daemon.

Change-Id: I8a2aad0b6dbb0aaa997446a612a365fd7d70336c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11379
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-04-08 12:32:19 +00:00
..
src refactor(tvix/nix-compat): move handshake function to nix-compat 2024-04-08 12:32:19 +00:00
vm-test feat(users/picnoir/tvix-daemon) add small VM integration test 2024-03-19 16:51:58 +00:00
Cargo.lock refactor(tvix/nix-compat): move handshake function to nix-compat 2024-04-08 12:32:19 +00:00
Cargo.nix refactor(tvix/nix-compat): move handshake function to nix-compat 2024-04-08 12:32:19 +00:00
Cargo.toml refactor(tvix/nix-compat): move handshake function to nix-compat 2024-04-08 12:32:19 +00:00
default.nix feat(tvix/nix-compat): introduce write_bytes 2024-04-03 11:25:14 +00:00
README.md docs(users/picnoir/tvix-daemon): update readme shell 2024-03-22 05:58:49 +00:00
shell.nix feat(users/picnoir/tvix-daemon): introduce tvix-daemon 2024-03-19 16:51:43 +00:00

Tvix-daemon

A super incomplete implementation of a Nix-compatible daemon. Same as the original except it's backed by Tvix-Store.

For now, this is mostly used as a playground to implement the Nix daemon wire format in nix-compat.

On the long run, I hope this to be useful to get some real-world usage experience of tvix-store.

Build

When inside this directory:

mg shell :shell
cargo build