From f4fe3e50807bb130d3e9417d91ca4584a4c32c25 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Mon, 1 Dec 2025 10:12:29 -0500 Subject: [PATCH] slipshow: add configurable port to nixosTest Signed-off-by: Ethan Carter Edwards --- nixos/tests/slipshow.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/tests/slipshow.nix b/nixos/tests/slipshow.nix index 40e0f0be620e..abbbc6361e88 100644 --- a/nixos/tests/slipshow.nix +++ b/nixos/tests/slipshow.nix @@ -25,11 +25,9 @@ start_all() # it may take around a minute to compile the file and serve it - machine.succeed("slipshow serve /etc/slipshow/bbslides.md &>/dev/null &") + machine.succeed("slipshow serve -p 6000 /etc/slipshow/bbslides.md &>/dev/null &") - # slipshow serves defaultly on :8080 and unfortunately cannot - # be changed currently - machine.wait_for_open_port(8080) - machine.succeed("curl -i 0.0.0.0:8080") + machine.wait_for_open_port(6000) + machine.succeed("curl -i 0.0.0.0:6000") ''; }