hurl: Use nix curl instead of bundled curl to enable http2 support (#387593)
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user