curl: remove outdated meta.broken check for pkgsStatic and brotliSupport (#494111)

This commit is contained in:
John Ericson
2026-02-25 19:06:11 +00:00
committed by GitHub
2 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -286,8 +286,8 @@ stdenv.mkDerivation (finalAttrs: {
Scrumplex
];
platforms = lib.platforms.all;
# Fails to link against static brotli or gss
broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport);
# Fails to link against static gss
broken = stdenv.hostPlatform.isStatic && gssSupport;
pkgConfigModules = [ "libcurl" ];
mainProgram = "curl";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "haxx" finalAttrs.version;
+7 -11
View File
@@ -2181,17 +2181,13 @@ with pkgs;
websocketSupport = true;
};
curl = curlMinimal.override (
{
idnSupport = true;
pslSupport = true;
zstdSupport = true;
http3Support = true;
}
// lib.optionalAttrs (!stdenv.hostPlatform.isStatic) {
brotliSupport = true;
}
);
curl = curlMinimal.override {
idnSupport = true;
pslSupport = true;
zstdSupport = true;
http3Support = true;
brotliSupport = true;
};
curlWithGnuTls = curl.override {
gnutlsSupport = true;