mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
stdenv: Fix error message when checkPhase is missing
This commit is contained in:
parent
b08a133aed
commit
d92a19b039
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user