hurl: Use nix curl instead of bundled curl to enable http2 support (#387593)

This commit is contained in:
Aleksana
2025-03-07 22:39:37 +08:00
committed by GitHub

View File

@@ -2,12 +2,10 @@
lib, lib,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
pkg-config, pkg-config,
installShellFiles, installShellFiles,
libxml2, libxml2,
openssl, openssl,
stdenv,
curl, curl,
versionCheckHook, versionCheckHook,
}: }:
@@ -31,14 +29,11 @@ rustPlatform.buildRustPackage rec {
installShellFiles installShellFiles
]; ];
buildInputs = buildInputs = [
[ libxml2
libxml2 openssl
openssl curl
] ];
++ lib.optionals stdenv.hostPlatform.isDarwin [
curl
];
nativeInstallCheckInputs = [ versionCheckHook ]; nativeInstallCheckInputs = [ versionCheckHook ];