From 4fe42fcbc927d8e496e487a1843c4d9ddb1aeabc Mon Sep 17 00:00:00 2001 From: Lauren Yim Date: Thu, 6 Jul 2023 11:45:40 +1000 Subject: [PATCH] gping: fix darwin build iputils is only supported on Linux. I tested building gping on x86_64-darwin without the iputils native check input and it worked. --- pkgs/tools/networking/gping/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/gping/default.nix b/pkgs/tools/networking/gping/default.nix index 2994112a2910..e97bf6ec86b3 100644 --- a/pkgs/tools/networking/gping/default.nix +++ b/pkgs/tools/networking/gping/default.nix @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; - nativeCheckInputs = [ iputils ]; + nativeCheckInputs = lib.optionals stdenv.isLinux [ iputils ]; doInstallCheck = true; installCheckPhase = ''