mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
Merge pull request #149810 from pennae/ninja-progress
ninja: pipe ninja output through cat in hooks
This commit is contained in:
commit
5f136ae633
@ -14,7 +14,7 @@ ninjaBuildPhase() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
echoCmd 'build flags' "${flagsArray[@]}"
|
echoCmd 'build flags' "${flagsArray[@]}"
|
||||||
ninja "${flagsArray[@]}"
|
ninja "${flagsArray[@]}" | cat
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
}
|
}
|
||||||
@ -33,7 +33,7 @@ ninjaInstallPhase() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
echoCmd 'install flags' "${flagsArray[@]}"
|
echoCmd 'install flags' "${flagsArray[@]}"
|
||||||
ninja "${flagsArray[@]}"
|
ninja "${flagsArray[@]}" | cat
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@ ninjaCheckPhase() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
echoCmd 'check flags' "${flagsArray[@]}"
|
echoCmd 'check flags' "${flagsArray[@]}"
|
||||||
ninja "${flagsArray[@]}"
|
ninja "${flagsArray[@]}" | cat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
|
Loading…
Reference in New Issue
Block a user