tandoor-recipes: limit parallelism

On as 96 core machine the tests failed left, right and center with all
kinds of errors. This seems to be more stable.
This commit is contained in:
Sandro Jäckel
2025-04-11 17:32:58 +02:00
parent 4214cdd7ab
commit fd089b24cf
@@ -22,6 +22,11 @@ python.pkgs.buildPythonPackage {
];
postPatch = ''
# high parallelism let the tests easily fail with concurrent errors
if (( $NIX_BUILD_CORES > 4)); then
NIX_BUILD_CORES=4
fi
substituteInPlace pytest.ini --subst-var NIX_BUILD_CORES
'';