Skip to content

Commit

Permalink
ci/eval: Avoid noise for failing attribute evals
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
infinisil committed Dec 12, 2024
1 parent f0a890d commit bd5c93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/eval/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bd5c93c

Please sign in to comment.