[Nix-dev] Re: [Nix-commits] SVN commit: nix - r26115 - nixpkgs/branches/stdenv-updates/pkgs/stdenv/generic

Eelco Dolstra e.dolstra at tudelft.nl
Fri Feb 25 16:35:29 CET 2011


Hi,

On 02/25/2011 04:28 PM, Ludovic Courtès wrote:

> stdenv: Emit `phase-started' and `phase-succeeded' events.
> 
> These markers follow the format of those of `nix-store --print-build-trace',
> which allows extraction of, say, phase durations in a similar way.

But contrary to the markers printed by `nix-store --print-build-trace', these
show up during normal use (so it's kind of ugly).  It's worth noting that the
escape sequences printed by startNest/stopNest allows phase start/end to be
extracted.  In fact that's exactly what the build log pretty-printer
(nix-log2xml) does.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list