tvl-depot/users/picnoir/tvix-daemon
Florian Klink fd749070e2 refactor(tvix/nix-compat/wire): move magic bytes to worker_protocol
`primitive.rs` implements reading and writing primitive (fixed-length)
types in the wire format, used in the the nix daemon protocol and NAR
format.

Move worker-protocol specific magic bytes to worker_protocol.rs (and
possibly further split there once needed)

Change-Id: If681c01e9460294619f1d000229b81f0ac745810
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11377
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr>
2024-04-08 07:02:10 +00:00
..
src refactor(tvix/nix-compat/wire): move magic bytes to worker_protocol 2024-04-08 07:02:10 +00:00
vm-test feat(users/picnoir/tvix-daemon) add small VM integration test 2024-03-19 16:51:58 +00:00
Cargo.lock feat(tvix/nix-compat/wire): introduce BytesWriter 2024-04-06 14:12:05 +00:00
Cargo.nix feat(tvix/nix-compat/wire): introduce BytesWriter 2024-04-06 14:12:05 +00:00
Cargo.toml feat(users/picnoir/tvix-daemon): add log verbosity flag 2024-04-03 11:32:50 +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