···16161717 patches = [ ./help2man-SOURCE_DATE_EPOCH-support.patch ];
18181919- # Disable indented log output from Make, otherwise "make.test" will
2020- # fail.
2121- preCheck = "unset NIX_INDENT_MAKE";
2219 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
2320 doInstallCheck = false; # runs the same thing, fails the same tests
2421
···15151616 setupHook = ./setup-hook.sh;
17171818- # Disable indented log output from Make, otherwise "make.test" will
1919- # fail.
2020- preCheck = "unset NIX_INDENT_MAKE";
2118 doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths
2219 doInstallCheck = false; # runs the same thing, fails the same tests
2320
+11-20
pkgs/stdenv/generic/setup.sh
···125125######################################################################
126126# Logging.
127127128128-# Obsolete.
129129-stopNest() { true; }
130130-header() { echo "$1"; }
131131-closeNest() { true; }
132132-133128# Prints a command such that all word splits are unambiguous. We need
134129# to split the command in three parts because the middle format string
135130# will be, and must be, repeated for each argument. The first argument
···798793unset _XDG_DATA_DIRS
799794800795801801-# Make GNU Make produce nested output.
802802-export NIX_INDENT_MAKE=1
803803-804804-805796# Normalize the NIX_BUILD_CORES variable. The value might be 0, which
806797# means that we're supposed to try and auto-detect the number of
807798# available CPU cores at run-time.
···1033102410341025unpackFile() {
10351026 curSrc="$1"
10361036- header "unpacking source archive $curSrc" 3
10271027+ echo "unpacking source archive $curSrc"
10371028 if ! runOneHook unpackCmd "$curSrc"; then
10381029 echo "do not know how to unpack source archive $curSrc"
10391030 exit 1
···11301121 fi
1131112211321123 for i in "${patchesArray[@]}"; do
11331133- header "applying patch $i" 3
11241124+ echo "applying patch $i"
11341125 local uncompress=cat
11351126 case "$i" in
11361127 *.gz)
···14941485showPhaseHeader() {
14951486 local phase="$1"
14961487 case "$phase" in
14971497- unpackPhase) header "unpacking sources";;
14981498- patchPhase) header "patching sources";;
14991499- configurePhase) header "configuring";;
15001500- buildPhase) header "building";;
15011501- checkPhase) header "running tests";;
15021502- installPhase) header "installing";;
15031503- fixupPhase) header "post-installation fixup";;
15041504- installCheckPhase) header "running install tests";;
15051505- *) header "$phase";;
14881488+ unpackPhase) echo "unpacking sources";;
14891489+ patchPhase) echo "patching sources";;
14901490+ configurePhase) echo "configuring";;
14911491+ buildPhase) echo "building";;
14921492+ checkPhase) echo "running tests";;
14931493+ installPhase) echo "installing";;
14941494+ fixupPhase) echo "post-installation fixup";;
14951495+ installCheckPhase) echo "running install tests";;
14961496+ *) echo "$phase";;
15061497 esac
15071498}
15081499