tvl-depot/tvix/nar-bridge
Florian Klink a9c47ffc50 refactor(tvix/nar-bridge): don't buffer blob in memory
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>
2023-09-18 14:02:28 +00:00
..
cmd/nar_bridge refactor(tvix/nar-bridge): simplify CLI interface 2023-09-18 14:02:28 +00:00
pkg refactor(tvix/nar-bridge): don't buffer blob in memory 2023-09-18 14:02:28 +00:00
testdata fix(tvix/nar-bridge): Fix directory stack tracking 2023-09-17 13:34:00 +00:00
.gitignore feat(tvix/nar-bridge): init 2023-09-17 13:24:53 +00:00
default.nix chore(tvix/nar-bridge): bump tvix/store/protos 2023-09-18 14:02:28 +00:00
go.mod chore(tvix/nar-bridge): bump tvix/store/protos 2023-09-18 14:02:28 +00:00
go.sum chore(tvix/nar-bridge): bump tvix/store/protos 2023-09-18 14:02:28 +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.