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,12 +29,9 @@ rustPlatform.buildRustPackage rec {
installShellFiles installShellFiles
]; ];
buildInputs = buildInputs = [
[
libxml2 libxml2
openssl openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
curl curl
]; ];