cargo-flash: fix build
Since v0.10.0 cargo-flash uses sentry for logging, which requires openssl.
This commit is contained in:
parent
ff6d2142ce
commit
6569cadf66
@ -3,6 +3,7 @@
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, libusb1
|
||||
, openssl
|
||||
, pkg-config
|
||||
, rustfmt
|
||||
, Security
|
||||
@ -22,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoSha256 = "sha256-P7xyg9I1MhmiKlyAI9cvABcYKNxB6TSvTgMsMk5KxAQ=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config rustfmt ];
|
||||
buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo extension for working with microcontrollers";
|
||||
|
Loading…
Reference in New Issue
Block a user