From 8bee89004ccd265c38147270690052dd48a6639c Mon Sep 17 00:00:00 2001 From: Seth Date: Wed, 20 Nov 2024 06:59:30 -0500 Subject: [PATCH] curl: add hyper support --- pkgs/by-name/cu/curlMinimal/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/cu/curlMinimal/package.nix b/pkgs/by-name/cu/curlMinimal/package.nix index 3e2c4fc8ed836..c869be94ed73b 100644 --- a/pkgs/by-name/cu/curlMinimal/package.nix +++ b/pkgs/by-name/cu/curlMinimal/package.nix @@ -24,6 +24,7 @@ , scpSupport ? zlibSupport && !stdenv.hostPlatform.isSunOS && !stdenv.hostPlatform.isCygwin, libssh2 , wolfsslSupport ? false, wolfssl , rustlsSupport ? false, rustls-ffi +, hyperSupport ? false, libhyper , zlibSupport ? true, zlib , zstdSupport ? false, zstd @@ -108,6 +109,7 @@ stdenv.mkDerivation (finalAttrs: { lib.optional scpSupport libssh2 ++ lib.optional wolfsslSupport wolfssl ++ lib.optional rustlsSupport rustls-ffi ++ + lib.optional hyperSupport libhyper ++ lib.optional zlibSupport zlib ++ lib.optional zstdSupport zstd ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ @@ -140,6 +142,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.withFeature http3Support "nghttp3") (lib.withFeature http3Support "ngtcp2") (lib.withFeature rtmpSupport "librtmp") + (lib.withFeatureAs hyperSupport "hyper" (toString libhyper)) (lib.withFeature rustlsSupport "rustls") (lib.withFeature zstdSupport "zstd") (lib.withFeature pslSupport "libpsl")