feat(3p/nix): Add main function for grpc daemon
Implement the main function for the new, proto-based nix daemon. This mostly replicates the behavior of the previous nix daemon - it starts a grpc server listening on the same nix socket path and supports the same set of options - with the exception of --stdio, which has been renamed to --pipe and documented in the man page. Change-Id: Ib729283c1d5d35c0e1b0a968bc1f052f5527f2d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1356 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
7c56fccdad
commit
dcaba9de64
10 changed files with 174 additions and 14 deletions
2
third_party/nix/src/CMakeLists.txt
vendored
2
third_party/nix/src/CMakeLists.txt
vendored
|
|
@ -61,8 +61,8 @@ target_sources(nix
|
|||
nix-channel/nix-channel.cc
|
||||
nix-collect-garbage/nix-collect-garbage.cc
|
||||
nix-copy-closure/nix-copy-closure.cc
|
||||
nix-daemon/nix-daemon.cc
|
||||
nix-daemon/nix-daemon-proto.cc
|
||||
nix-daemon/nix-daemon-main.cc
|
||||
nix-env/nix-env.cc
|
||||
nix-env/user-env.cc
|
||||
nix-instantiate/nix-instantiate.cc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue