python3Packages.ansible-lint: limit xdist cores to NIX_BUILD_CORES

This commit is contained in:
Jonathan Ringer 2021-12-10 10:25:55 -08:00
parent 5030bcc563
commit e3bb91c48b
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -49,7 +49,7 @@ buildPythonPackage rec {
];
pytestFlagsArray = [
"--numprocesses" "auto"
"--numprocesses" "$NIX_BUILD_CORES"
];
preCheck = ''