Show the log tail when a build fails
If --no-build-output is given (which will become the default for the "nix" command at least), show the last 10 lines of the build output if the build fails.
This commit is contained in:
parent
6e1b099279
commit
5761827d5b
6 changed files with 55 additions and 16 deletions
|
@ -171,7 +171,7 @@ struct LegacyArgs : public MixCommonArgs
|
|||
: MixCommonArgs(programName), parseArg(parseArg)
|
||||
{
|
||||
mkFlag('Q', "no-build-output", "do not show build output",
|
||||
&settings.buildVerbosity, lvlVomit);
|
||||
&settings.verboseBuild, false);
|
||||
|
||||
mkFlag('K', "keep-failed", "keep temporary directories of failed builds",
|
||||
&settings.keepFailed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue