Skip to content

Commit b61a7b7

Browse files
authored
hurl: Use nix curl instead of bundled curl to enable http2 support (NixOS#387593)
2 parents bee08b3 + 0a91a79 commit b61a7b7

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pkgs/by-name/hu/hurl/package.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
lib,
33
rustPlatform,
44
fetchFromGitHub,
5-
fetchpatch,
65
pkg-config,
76
installShellFiles,
87
libxml2,
98
openssl,
10-
stdenv,
119
curl,
1210
versionCheckHook,
1311
}:
@@ -31,14 +29,11 @@ rustPlatform.buildRustPackage rec {
3129
installShellFiles
3230
];
3331

34-
buildInputs =
35-
[
36-
libxml2
37-
openssl
38-
]
39-
++ lib.optionals stdenv.hostPlatform.isDarwin [
40-
curl
41-
];
32+
buildInputs = [
33+
libxml2
34+
openssl
35+
curl
36+
];
4237

4338
nativeInstallCheckInputs = [ versionCheckHook ];
4439

0 commit comments

Comments
 (0)