[Nix-dev] How do you like the verbosity when building?

Marc Weber marco-oweber at gmx.de
Thu Jul 17 19:39:04 CEST 2008


Sometimes I appreciate seeing what happens.. On the other hand if you're
using -j2 option or such you'll get a mixture which is hard to read.

Would you prefer something like

starting build /nix/store/XXXXX.drv, log file is /nix/var/nix/log/drvs/XXXXX.drv.log
....... 
done XXXXX

So if you mix up multiple builds you'll get

starting build /nix/store/YXXXX.drv (1/2), log file is /nix/var/nix/log/drvs/YXXXX.drv.log
+++
starting build /nix/store/XXXXX.drv (2/2), log file is /nix/var/nix/log/drvs/XXXXX.drv.log
.+...+. 
done XXXXX (1/2)
+++++++++++
done YXXXX (2/2)

(each . / +  corresponds to one log line so that you see immediately that a build
process has stopped)


Of course you want to see the log especially if it fail. Then the whole
log (or maybe only the last 100 lines) could be printed..

Marc Weber



More information about the nix-dev mailing list