fix: make uv use system certstore

This commit is contained in:
llama 2025-10-11 00:51:28 +08:00
parent 76d3237139
commit 227dbdd9fa
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -1013,6 +1013,9 @@ fn uv_command(state: &State) -> Result<Command> {
.env("UV_DEFAULT_INDEX", &pypi_mirror); .env("UV_DEFAULT_INDEX", &pypi_mirror);
} }
// have uv use the system certstore instead of webpki-roots'
command.env("UV_NATIVE_TLS", "1");
Ok(command) Ok(command)
} }