rustup: disable parallel testing

Caused issues in:
- download::tests::reqwest::socks_proxy_request
- download::tests::curl::callback_gets_all_data_as_if_the_download_happened_all_at_once
- download::tests::reqwest::callback_gets_all_data_as_if_the_download_happened_all_at_once
This commit is contained in:
FliegendeWurst
2025-05-22 08:18:34 +02:00
parent 1744aeacbb
commit 3533884ef2
@@ -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 = [