mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
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. svn path=/nixpkgs/branches/stdenv-updates/; revision=26115
This commit is contained in:
parent
1ea903a74a
commit
cff72e7a83
|
@ -814,6 +814,9 @@ genericBuild() {
|
|||
if test "$curPhase" = fixupPhase -a -n "$dontFixup"; then continue; fi
|
||||
if test "$curPhase" = distPhase -a -z "$doDist"; then continue; fi
|
||||
|
||||
echo
|
||||
echo "@ phase-started $out $curPhase"
|
||||
|
||||
showPhaseHeader "$curPhase"
|
||||
dumpVars
|
||||
|
||||
|
@ -825,6 +828,9 @@ genericBuild() {
|
|||
cd "${sourceRoot:-.}"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "@ phase-succeeded $out $curPhase"
|
||||
|
||||
stopNest
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue