Merge pull request #240933 from tjni/cargo-public-api

cargo-public-api: add curl dependency
This commit is contained in:
Nick Cao 2023-07-04 09:19:00 +08:00 committed by GitHub
commit 78fba319ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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