From fdc0cf0c94827fc4940c9f8ac4d310d57aec9f35 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 21 Jul 2024 01:36:36 +0200 Subject: [PATCH] refactor(tvix/boot/tests): use nar-bridge-rs This switches the boot tests from the golang implementation to the rust one. Change-Id: Ide2a47aebe40c172077147c05bb6dacd74ba6b1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/11997 Tested-by: BuildkiteCI Reviewed-by: Brian Olsen --- tvix/boot/tests/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tvix/boot/tests/default.nix b/tvix/boot/tests/default.nix index 26640d6e9..a6c3047d0 100644 --- a/tvix/boot/tests/default.nix +++ b/tvix/boot/tests/default.nix @@ -45,7 +45,7 @@ let depot.tvix.store depot.tvix.boot.runVM ] ++ lib.optionals (isClosure && useNarBridge) [ - depot.tvix.nar-bridge-go + depot.tvix.nar-bridge pkgs.curl pkgs.parallel pkgs.xz.bin @@ -85,10 +85,9 @@ let tvix-store --otlp=false copy '' + lib.optionalString (isClosure && useNarBridge) '' echo "Starting nar-bridge…" - nar-bridge-http \ + nar-bridge \ --otlp=false \ - --store-addr=unix://$PWD/tvix-store.sock \ - --listen-addr=$PWD/nar-bridge.sock & + -l $PWD/nar-bridge.sock & # Wait for the socket to be created. while [ ! -e $PWD/nar-bridge.sock ]; do sleep 1; done