Use a genNarHandler() function accepting a boolean to construct the HTTP handler. Change-Id: I17c054826d91a9dbed8b1f53945a51f27fa60ace Reviewed-on: https://cl.tvl.fyi/c/depot/+/9537 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: flokli <flokli@flokli.de> |
||
|---|---|---|
| .. | ||
| cmd/nar-bridge | ||
| pkg | ||
| testdata | ||
| .gitignore | ||
| default.nix | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
//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.