ci/eval: use sane defaults

Using these defaults makes it possible to just run `nix-build ci -A
eval.singleSystem` without passing additional arguments and get a sane
result back. Especially helpful when testing or debugging.

A `chunkSize` of 5000 is conservative to be able to run on systems with
less memory as well. Run-time is not impacted by that, as recent
benchmarks show.
This commit is contained in:
Wolfgang Walther 2025-08-07 16:39:04 +02:00
parent 5c697b8aea
commit 75f40a150c
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -72,11 +72,11 @@ let
# The system to evaluate.
# Note that this is intentionally not called `system`,
# because `--argstr system` would only be passed to the ci/default.nix file!
evalSystem,
evalSystem ? builtins.currentSystem,
# The path to the `paths.json` file from `attrpathsSuperset`
attrpathFile ? "${attrpathsSuperset { inherit evalSystem; }}/paths.json",
# The number of attributes per chunk, see ./README.md for more info.
chunkSize,
chunkSize ? 5000,
checkMeta ? true,
# Don't try to eval packages marked as broken.