From 9f925958ee11acb9854ba4bba186f987893d0998 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 26 Dec 2024 10:58:07 -0500 Subject: [PATCH] lychee: avoid running doctests since they tend to require the network --- pkgs/tools/networking/lychee/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/networking/lychee/default.nix b/pkgs/tools/networking/lychee/default.nix index a54e814c417b9..342e07e010e0e 100644 --- a/pkgs/tools/networking/lychee/default.nix +++ b/pkgs/tools/networking/lychee/default.nix @@ -25,6 +25,13 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ]; + cargoTestFlags = [ + # don't run doctests since they tend to use the network + "--lib" + "--bins" + "--tests" + ]; + checkFlags = [ # Network errors for all of these tests # "error reading DNS system conf: No such file or directory (os error 2)" } }