diff --git a/tvix/boot/README.md b/tvix/boot/README.md index cf593dcc0..13a485506 100644 --- a/tvix/boot/README.md +++ b/tvix/boot/README.md @@ -43,9 +43,9 @@ Potentially copy some data into tvix-store (via nar-bridge): ``` mg run //tvix:store -- daemon & -mg run //tvix:nar-bridge -- & +$(mg build //tvix:nar-bridge)/bin/nar-bridge-http & rm -Rf ~/.cache/nix; nix copy --to http://localhost:9000\?compression\=none $(mg build //third_party/nixpkgs:hello) -pkill nar-bridge; pkill tvix-store +pkill nar-bridge-http; pkill tvix-store ``` #### Interactive shell diff --git a/tvix/nar-bridge/.gitignore b/tvix/nar-bridge/.gitignore index 04260dbc5..867be7a12 100644 --- a/tvix/nar-bridge/.gitignore +++ b/tvix/nar-bridge/.gitignore @@ -1 +1 @@ -/nar_bridge +/nar-bridge-http diff --git a/tvix/nar-bridge/cmd/nar-bridge/main.go b/tvix/nar-bridge/cmd/nar-bridge-http/main.go similarity index 97% rename from tvix/nar-bridge/cmd/nar-bridge/main.go rename to tvix/nar-bridge/cmd/nar-bridge-http/main.go index d86e84b87..39892d37f 100644 --- a/tvix/nar-bridge/cmd/nar-bridge/main.go +++ b/tvix/nar-bridge/cmd/nar-bridge-http/main.go @@ -55,7 +55,7 @@ func main() { 30, ) - log.Printf("Starting nar-bridge at %v", cli.ListenAddr) + log.Printf("Starting nar-bridge-http at %v", cli.ListenAddr) go s.ListenAndServe(cli.ListenAddr) // listen for the interrupt signal.