tvl-depot/tvix/nar-bridge
Florian Klink 155ab77cff refactor(tvix/nar-bridge): use mh.SHA2_256
As correctly mentioned in
https://cl.tvl.fyi/c/depot/+/9652/comment/03b9b96e_bbb337fd/,
we shouldn't be using these magic constants, but pull them from where
they're defined.

This already is a dependency of go-nix, and pkg/pathinfosvc/server.go,
so no changes in go.mod.

Change-Id: I0cc41ce040fcbddf4b6171417bc9b0de55af4991
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9653
Tested-by: BuildkiteCI
Reviewed-by: Brian McGee <brian@bmcgee.ie>
2023-10-11 15:22:22 +00:00
..
cmd fix(tvix/nar-bridge): properly check error during HTTP shutdown 2023-10-05 19:15:00 +00:00
pkg refactor(tvix/nar-bridge): use mh.SHA2_256 2023-10-11 15:22:22 +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.