From bd5c93ca3d321b5a0dffcede18ec8da72c8d56d5 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 12 Dec 2024 12:53:37 +0100 Subject: [PATCH] ci/eval: Avoid noise for failing attribute evals It's currently annoying to see the actual failure in the attrs step, because `time -v` displays like 20 lines, which get repeated, therefore requiring you to scroll up most of the time: https://github.com/NixOS/nixpkgs/actions/runs/12290298121/job/34297218345#step:5:794 This commit fixes that by only displaying the most important stats, the same ones as the chunked system-specific evals. --- ci/eval/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/eval/default.nix b/ci/eval/default.nix index e55093be57c52..393d5eae4fba9 100644 --- a/ci/eval/default.nix +++ b/ci/eval/default.nix @@ -49,7 +49,7 @@ let export NIX_STATE_DIR=$(mktemp -d) mkdir $out export GC_INITIAL_HEAP_SIZE=4g - command time -v \ + command time -f "Attribute eval done [%MKB max resident, %Es elapsed] %C" \ nix-instantiate --eval --strict --json --show-trace \ "$src/pkgs/top-level/release-attrpaths-superset.nix" \ -A paths \