tvl-depot/tvix/nar-bridge
Florian Klink 673f5febbb feat(tvix/nar-bridge): stop parsing nixbase32 manually, validate
We have nixhash.FromHashTypeAndDigest now.

Also, run Validate() on the PathInfo received from the remote
PathInfoService.

Change-Id: I14db0d9356c539c084afc9dd712314b56da2587e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9652
Tested-by: BuildkiteCI
Reviewed-by: Brian McGee <brian@bmcgee.ie>
2023-10-11 11:41:50 +00:00
..
cmd fix(tvix/nar-bridge): properly check error during HTTP shutdown 2023-10-05 19:15:00 +00:00
pkg feat(tvix/nar-bridge): stop parsing nixbase32 manually, validate 2023-10-11 11:41:50 +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 refactor(tvix/nar-bridge): pass root node to storev1pb.Export 2023-10-11 11:41:50 +00:00
go.mod refactor(tvix/nar-bridge): pass root node to storev1pb.Export 2023-10-11 11:41:50 +00:00
go.sum refactor(tvix/nar-bridge): pass root node to storev1pb.Export 2023-10-11 11:41:50 +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.