rustls-ffi: temporarily drop passthru.tests.curl

It currently does not build but the situation is being handled upstream.
This commit is contained in:
Thomas Gerbet 2024-04-07 18:06:10 +02:00
parent 2e4e6618cb
commit 6ea5b5f2c5
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@ rustPlatform.buildRustPackage rec {
passthru.tests = {
apacheHttpd = apacheHttpd.override { modTlsSupport = true; };
curl = curl.override { opensslSupport = false; rustlsSupport = true; };
# Currently broken notably because of https://github.com/curl/curl/issues/13248
# curl = curl.override { opensslSupport = false; rustlsSupport = true; };
};
meta = with lib; {

View File

@ -211,7 +211,7 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;
# Fails to link against static brotli or gss
broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport || stdenv.hostPlatform.system == "x86_64-darwin");
broken = (stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport || stdenv.hostPlatform.system == "x86_64-darwin")) || rustlsSupport;
pkgConfigModules = [ "libcurl" ];
mainProgram = "curl";
};