From 166c9c8269735d5bf3e49629f804bd7b995987f0 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Mon, 17 Oct 2022 12:46:39 +0200 Subject: nixos/tests/bazarr: fix eval error The test still doesn't pass, it has some runtime issues as well. Fixes: 580370666239 ("nixos/tests: fix type mismatch in wait_for_open_port") --- nixos/tests/bazarr.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/tests/bazarr.nix b/nixos/tests/bazarr.nix index efcd9de010804..2e49c958dd002 100644 --- a/nixos/tests/bazarr.nix +++ b/nixos/tests/bazarr.nix @@ -16,11 +16,12 @@ in enable = true; listenPort = port; }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["unrar"]; }; testScript = '' machine.wait_for_unit("bazarr.service") - machine.wait_for_open_port(port) + machine.wait_for_open_port(${toString port}) machine.succeed("curl --fail http://localhost:${toString port}/") ''; }) -- cgit 1.4.1