tvl-depot/users/picnoir/tvix-daemon
Vova Kryachko aecf0641a4 fix(tvix/nix_compat): Fix nix-daemon handshake
Existing handshake behavior assumed that the server version is always
at least as new as the client. Meaning that the client's version was
always picked the handshake details as well as for further communication

This change removes that assumption and correctly uses
min(server_version, client_version).

Change-Id: Ia5dad4613dd5f69a0aeb6c9d86982f1f36fe1a4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12722
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-11-02 18:08:21 +00:00
..
src fix(tvix/nix_compat): Fix nix-daemon handshake 2024-11-02 18:08:21 +00:00
vm-test feat(users/picnoir/tvix-daemon) add small VM integration test 2024-03-19 16:51:58 +00:00
.gitignore fix(users/picnoir/tvix-daemon): gitignore target dir, use cleaned src 2024-04-23 15:14:42 +00:00
Cargo.lock chore(users/picnoir/tvix-daemon): bump crate dependencies 2024-10-12 12:13:55 +00:00
Cargo.nix chore(users/picnoir/tvix-daemon): bump crate dependencies 2024-10-12 12:13:55 +00:00
Cargo.toml refactor(tvix/nix-compat): reorganize wire and bytes 2024-04-13 10:09:35 +00:00
default.nix feat(users/picnoir/tvix-daemon): Add crate2nix-check 2024-08-23 19:55:10 +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