tvl-depot/users/picnoir/tvix-daemon
edef 095f715a80 refactor(nix-compat/wire): drop primitive functions
These may as well be inlined, and hardly need tests, since they just
alias AsyncReadExt::read_u64_le / AsyncWriteExt::write_u64_le.

Boolean reading is worth making explicit, since callers may differ on
how they want to handle values other than 0 and 1.

Boolean writing simplifies to `.write_u64_le(x as u64)`, which is also
fine to inline.

Change-Id: Ief9722fe886688693feb924ff0306b5bc68dd7a2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11549
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-04-30 09:55:51 +00:00
..
src refactor(nix-compat/wire): drop primitive functions 2024-04-30 09:55:51 +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 refactor(tvix/nix-compat): reorganize wire and bytes 2024-04-13 10:09:35 +00:00
Cargo.nix feat(tvix/eval): Implement builtins.fetchTarball 2024-04-20 14:58:04 +00:00
Cargo.toml refactor(tvix/nix-compat): reorganize wire and bytes 2024-04-13 10:09:35 +00:00
default.nix fix(users/picnoir/tvix-daemon): gitignore target dir, use cleaned src 2024-04-23 15:14:42 +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