50c81d7838
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> |
||
---|---|---|
.. | ||
cmd/nar-bridge-http | ||
pkg | ||
testdata | ||
.gitignore | ||
default.nix | ||
go.mod | ||
go.sum | ||
README.md |
//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
.