mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
stdenv: consistent phases header
Make phases header consistent for all phases. `Running phase:` is from an old nix ux doc from 2020 https://github.com/tweag/nix-ux/blob/master/first_steps_with_nix_v2.md Co-authored-by: Artturin <Artturin@artturin.com>
This commit is contained in:
parent
c76c0e0741
commit
3b4b805561
@ -1495,17 +1495,7 @@ distPhase() {
|
||||
|
||||
showPhaseHeader() {
|
||||
local phase="$1"
|
||||
case "$phase" in
|
||||
unpackPhase) echo "unpacking sources";;
|
||||
patchPhase) echo "patching sources";;
|
||||
configurePhase) echo "configuring";;
|
||||
buildPhase) echo "building";;
|
||||
checkPhase) echo "running tests";;
|
||||
installPhase) echo "installing";;
|
||||
fixupPhase) echo "post-installation fixup";;
|
||||
installCheckPhase) echo "running install tests";;
|
||||
*) echo "$phase";;
|
||||
esac
|
||||
echo "Running phase: $phase"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user