Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at r-updates 8 lines 286 B view raw
1pytestXdistHook() { 2 appendToVar pytestFlags "--numprocesses=$NIX_BUILD_CORES" 3} 4 5if [ -z "${dontUsePytestXdist-}" ] && [ -z "${dontUsePytestCheck-}" ]; then 6 # The flags should be added before pytestCheckHook runs in preDistPhases. 7 preInstallCheckHooks+=(pytestXdistHook) 8fi