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 = ''