tvl-depot/tvix/nar-bridge
Florian Klink 78abeaa920 refactor(tvix/nar-bridge): use storepath for store paths
Remove the handwritten parsing and formatting of store paths.

Change-Id: Ia4ba486b4363c33b98937bcbf6f5f7bcda289b82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9588
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2023-10-09 22:05:02 +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 storepath for store paths 2023-10-09 22:05:02 +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 chore(tvix/nar-bridge): bump go-nix 2023-10-09 19:08:28 +00:00
go.mod chore(tvix/nar-bridge): bump go-nix 2023-10-09 19:08:28 +00:00
go.sum chore(tvix/nar-bridge): bump go-nix 2023-10-09 19:08: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.