Skip to content

Commit

Permalink
lychee: avoid running doctests since they tend to require the network
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 26, 2024
1 parent 6f0a5d2 commit 9f92595
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/tools/networking/lychee/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)" } }
Expand Down

0 comments on commit 9f92595

Please sign in to comment.