feat(tvix/nix-daemon): Initial skeleton for nix-daemon

The goal is to create a drop-in replacement nix-daemon that nix-cpp can
use as a `daemon` store.

Change-Id: Ie092047dcc6a24a3b8d8d1b808f3e6fd2c493bf2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12711
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Vova Kryachko 2024-10-29 14:00:23 -04:00 committed by Vladimir Kryachko
parent eb2ca5f079
commit 9e294db820
6 changed files with 213 additions and 0 deletions

17
tvix/Cargo.lock generated
View file

@ -2343,6 +2343,23 @@ dependencies = [
"trybuild",
]
[[package]]
name = "nix-daemon"
version = "0.1.0"
dependencies = [
"async-trait",
"clap",
"futures",
"mimalloc",
"nix-compat",
"tokio",
"tokio-listener",
"tracing",
"tvix-castore",
"tvix-store",
"tvix-tracing",
]
[[package]]
name = "nohash-hasher"
version = "0.2.0"