Skip to content
Snippets Groups Projects
Commit a25abe82 authored by Linus Heckemann's avatar Linus Heckemann
Browse files

Promote log-lines to a fully-qualified option

This allows commands like

nix build --log-lines 30 nixpkgs.hello

in order to obtain more information in case of a failure.
parent 7a9ac91a
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,9 @@ public:
/* Whether to show build log output in real time. */
bool verboseBuild = true;
/* If verboseBuild is false, the number of lines of the tail of
the log to show if a build fails. */
size_t logLines = 10;
Setting<size_t> logLines{this, 10, "log-lines",
"If verbose-build is false, the number of lines of the tail of "
"the log to show if a build fails."};
MaxBuildJobsSetting maxBuildJobs{this, 1, "max-jobs",
"Maximum number of parallel build jobs. \"auto\" means use number of cores.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment