From 29b5ffbda042650640ac6d8b23b20fb44897ed62 Mon Sep 17 00:00:00 2001 From: Picnoir Date: Tue, 19 Mar 2024 14:34:59 +0100 Subject: feat(users/picnoir/tvix-daemon): introduce tvix-daemon This daemon is a re-implementation of the Nix daemon except it uses tvix-store as a remote store. For now, it's very barebones, this is just a quick and dirty setup to get started with the project. We bind to the unix socket provided by systemd, wait for cpp Nix to send the magic hello bytes, respond with the magic hello bytes and call it a day. Storing this under my username for now, the project is mostly irrelevant as it is. We'll move it to Tvix if it gets complete and relevant at some point. Change-Id: Ifc5dce2df37413504f9de1942c5b7d425eddf759 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11198 Reviewed-by: flokli Tested-by: BuildkiteCI --- users/picnoir/tvix-daemon/shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 users/picnoir/tvix-daemon/shell.nix (limited to 'users/picnoir/tvix-daemon/shell.nix') diff --git a/users/picnoir/tvix-daemon/shell.nix b/users/picnoir/tvix-daemon/shell.nix new file mode 100644 index 000000000000..6ec6b961fa0f --- /dev/null +++ b/users/picnoir/tvix-daemon/shell.nix @@ -0,0 +1,21 @@ +{ pkgs, ... }: +pkgs.mkShell { + name = "tvix-daemon"; + packages = [ + pkgs.cargo + pkgs.cargo-machete + pkgs.cargo-expand + pkgs.clippy + pkgs.evans + pkgs.fuse + pkgs.go + pkgs.grpcurl + pkgs.hyperfine + pkgs.nix_2_3 # b/313 + pkgs.pkg-config + pkgs.rust-analyzer + pkgs.rustc + pkgs.rustfmt + pkgs.protobuf + ]; +} -- cgit 1.4.1