Create a pipe, pass the read end, and have a goroutine write to the write end. Change-Id: I301c273355705e60113b018e7e84b76972200e8c Reviewed-on: https://cl.tvl.fyi/c/depot/+/9361 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> |
||
|---|---|---|
| .. | ||
| cmd/nar_bridge | ||
| 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.