tvl-depot/tvix/nar-bridge
Florian Klink 50c81d7838 feat(tvix/nar-bridge): support listening on unix sockets
This simply checks for the address to contain slashes, and if so, opens
a unix socket, rather than a tcp one. We'll use this in //tvix/boot
tests to simplify waiting for nar-bridge to be up.

Change-Id: I7184f548d57142b1c5f698a1f0c30343489373a5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11184
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-03-18 14:57:30 +00:00
..
cmd/nar-bridge-http feat(tvix/store/nar-bridge): Setup OpenTelemetry 2024-01-23 15:50:53 +00:00
pkg feat(tvix/nar-bridge): support listening on unix sockets 2024-03-18 14:57:30 +00:00
testdata fix(tvix/nar-bridge): Fix directory stack tracking 2023-09-17 13:34:00 +00:00
.gitignore feat(tvix/nar-bridge): add nar-bridge-pathinfo command 2023-10-05 15:02:12 +00:00
default.nix feat(tvix/store/nar-info): Support async blob upload 2024-01-23 17:01:16 +00:00
go.mod feat(tvix/store/nar-info): Support async blob upload 2024-01-23 17:01:16 +00:00
go.sum feat(tvix/store/nar-info): Support async blob upload 2024-01-23 17:01:16 +00:00
README.md feat(tvix/nar-bridge): init 2023-09-17 13:24:53 +00:00

//tvix/nar-bridge

This exposes a HTTP Binary cache interface (GET/HEAD/PUT requests) for a tvix- store.

It can be used to configure a tvix-store as a substitutor for Nix, or to upload store paths from Nix via nix copy into a tvix-store.