hurl: fix build on darwin

Closes #140870
This commit is contained in:
Jean-Philippe Braun 2021-10-08 08:35:54 +02:00
parent f9fbffdf02
commit 0a33beadb3

View file

@ -1,9 +1,11 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, libxml2
, openssl
, curl
}:
rustPlatform.buildRustPackage rec {
@ -24,6 +26,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
libxml2
openssl
] ++ lib.optionals stdenv.isDarwin [
curl
];
# Tests require network access to a test server