summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2020-11-07 11:52:59 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-07 10:37:37 -0800
commitd92a19b0394f39f9febba56e4fd878a34c27df24 (patch)
treea47916b0560d23680d946e3e981ed3f93cf56463 /pkgs/stdenv
parentb08a133aed2f5b6171575922ab6d70ac6decc022 (diff)
stdenv: Fix error message when checkPhase is missing
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index d19ed342aab0..2617a8f74ab5 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -1037,7 +1037,7 @@ checkPhase() {
runHook preCheck
if [[ -z "${foundMakefile:-}" ]]; then
- echo "no Makefile or custom buildPhase, doing nothing"
+ echo "no Makefile or custom checkPhase, doing nothing"
runHook postCheck
return
fi
@@ -1182,7 +1182,7 @@ installCheckPhase() {
runHook preInstallCheck
if [[ -z "${foundMakefile:-}" ]]; then
- echo "no Makefile or custom buildPhase, doing nothing"
+ echo "no Makefile or custom installCheckPhase, doing nothing"
#TODO(@oxij): should flagsArray influence make -n?
elif [[ -z "${installCheckTarget:-}" ]] \
&& ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then