3 "--numprocesses=$NIX_BUILD_CORES"
7 # the flags should be added before pytestCheckHook runs so
8 # until we have dependency mechanism in generic builder, we need to use this ugly hack.
10 if [ -z "${dontUsePytestXdist-}" ] && [ -z "${dontUsePytestCheck-}" ]; then
11 if [[ " ${preDistPhases[*]:-} " =~
" pytestCheckPhase " ]]; then
12 _preDistPhases
="${preDistPhases[*]} "
13 _preDistPhases
="${_preDistPhases/ pytestCheckPhase / pytestXdistHook pytestCheckPhase }"
14 if [[ -n "${__structuredAttrs-}" ]]; then
19 appendToVar preDistPhases
$_preDistPhases
22 appendToVar preDistPhases pytestXdistHook