tvl-depot/tvix/nar-bridge
Florian Klink 28cd4b1a2f feat(tvix/nar-bridge): add ToNixNarInfo()
Convenience function, moves all code converting from a PathInfo struct
to to go-nix's NarInfo.

Change-Id: Idf0dcc38675674563f2dfd3286a4a55fa2a24a82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9593
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Brian McGee <brian@bmcgee.ie>
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 feat(tvix/nar-bridge): add ToNixNarInfo() 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.