From bc9e913c3f6881e4602c5956b342642090456c84 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 1 Jul 2023 08:45:02 -0700 Subject: [PATCH] cargo-public-api: add curl dependency --- pkgs/development/tools/rust/cargo-public-api/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix index b0ce2e782c0c..223707accc41 100644 --- a/pkgs/development/tools/rust/cargo-public-api/default.nix +++ b/pkgs/development/tools/rust/cargo-public-api/default.nix @@ -2,6 +2,7 @@ , rustPlatform , fetchCrate , pkg-config +, curl , openssl , stdenv , darwin @@ -20,7 +21,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] + buildInputs = [ curl openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; # Tests fail