From 92b3e8f147462e5716d67f24578c2d92ff1deee7 Mon Sep 17 00:00:00 2001 From: volth Date: Sun, 22 Jul 2018 23:52:54 +0000 Subject: fix build with allowAliases=false --- nixos/tests/common/letsencrypt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/tests/common') diff --git a/nixos/tests/common/letsencrypt/default.nix b/nixos/tests/common/letsencrypt/default.nix index 4b841a03cc4..73aac51a012 100644 --- a/nixos/tests/common/letsencrypt/default.nix +++ b/nixos/tests/common/letsencrypt/default.nix @@ -304,7 +304,7 @@ let serviceConfig.Type = "oneshot"; serviceConfig.RemainAfterExit = true; script = let - netcat = "${pkgs.netcat-openbsd}/bin/nc"; + netcat = "${pkgs.libressl.nc}/bin/nc"; portCheck = "${netcat} -z 127.0.0.1 ${toString attrs.waitForPort}"; in "while ! ${portCheck}; do :; done"; }; @@ -435,7 +435,7 @@ in { serviceConfig.RemainAfterExit = true; script = let ports = lib.range 8000 8005 ++ lib.singleton 80; - netcat = "${pkgs.netcat-openbsd}/bin/nc"; + netcat = "${pkgs.libressl.nc}/bin/nc"; mkPortCheck = port: "${netcat} -z 127.0.0.1 ${toString port}"; checks = "(${lib.concatMapStringsSep " && " mkPortCheck ports})"; in "while ! ${checks}; do :; done"; -- cgit 1.4.1