diff --git a/nixos/tests/bazarr.nix b/nixos/tests/bazarr.nix index efcd9de01080..2e49c958dd00 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}/") ''; })