tests/nixos/fetchurl: drop unused variables

(cherry picked from commit de9946cbfd4858133462c8cc6b7838edb3be2451)
This commit is contained in:
Jörg Thalheim 2024-09-28 17:06:10 +02:00 committed by Robert Hensing
parent b61952212e
commit f30a990117

View File

@ -1,7 +1,7 @@
# Test whether builtin:fetchurl properly performs TLS certificate
# checks on HTTPS servers.
{ lib, config, pkgs, ... }:
{ pkgs, ... }:
let
@ -25,7 +25,7 @@ in
name = "nss-preload";
nodes = {
machine = { lib, pkgs, ... }: {
machine = { pkgs, ... }: {
services.nginx = {
enable = true;
@ -60,7 +60,7 @@ in
};
};
testScript = { nodes, ... }: ''
testScript = ''
machine.wait_for_unit("nginx")
machine.wait_for_open_port(443)