mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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.
This commit is contained in:
parent
7a9ac91a43
commit
a25abe823f
1 changed files with 3 additions and 3 deletions
|
@ -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.",
|
||||
|
|
Loading…
Reference in a new issue