rustup: disable parallel testing (#409651)

This commit is contained in:
Arne Keller 2025-05-23 11:56:05 +02:00 committed by GitHub
commit 4fb8086fbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,6 +79,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Random tests fail nondeterministically on macOS.
# TODO: Investigate this.
doCheck = !stdenv.hostPlatform.isDarwin;
# Random failures when running tests in parallel.
preCheck = ''
export NIX_BUILD_CORES=1
'';
# skip failing tests
checkFlags = [