From 61c32ccdae66e3dbb70529da05d629a5e378f2c3 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Thu, 3 Sep 2026 22:11:27 -0700 Subject: [PATCH] fastcrw: compile tests in debug mode --- pkgs/by-name/fa/fastcrw/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/fa/fastcrw/package.nix b/pkgs/by-name/fa/fastcrw/package.nix index c66b201f0e0c..9a89651457bb 100644 --- a/pkgs/by-name/fa/fastcrw/package.nix +++ b/pkgs/by-name/fa/fastcrw/package.nix @@ -36,6 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoTestFlags = [ "--no-fail-fast" ]; + # Optimizing test binaries with fat LTO takes over 100 minutes on Hydra, + # while the tests themselves finish in about two minutes. + checkType = "debug"; + checkFlags = [ # Dials a blackhole address to assert the error is a connect-phase timeout; # the sandbox has no route at all, so it fails fast as "network unreachable".