From c8c003c8b39d207a8fc27cda24879cdada6b7dbd Mon Sep 17 00:00:00 2001 From: David Abram Date: Sat, 10 Oct 2026 23:07:45 +0200 Subject: [PATCH] perf(nix): disable test-profile debuginfo to shrink artifacts --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e0695415c..311016023 100644 --- a/flake.nix +++ b/flake.nix @@ -396,8 +396,10 @@ # repeatedly optimizing the entire Rust test binary. testProfileArgs = { CARGO_PROFILE = "test"; - # Preserve useful file/line backtraces without full DWARF debug info. - CARGO_PROFILE_TEST_DEBUG = "line-tables-only"; + # Smaller dependency artifacts for test/Clippy derivations. + # This uses the measured J variant (debug info disabled for all + # test-profile crates); Rust panic locations remain available. + CARGO_PROFILE_TEST_DEBUG = "0"; }; # The deps-only derivation must also prepare test/dev-dependency artifacts.