From 6569cadf665d5dd52460639ee9ef8ac143884f03 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 17 May 2021 11:21:16 +0200 Subject: [PATCH] cargo-flash: fix build Since v0.10.0 cargo-flash uses sentry for logging, which requires openssl. --- pkgs/development/tools/rust/cargo-flash/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cargo-flash/default.nix b/pkgs/development/tools/rust/cargo-flash/default.nix index b615ebeaf39..a2679b53c4b 100644 --- a/pkgs/development/tools/rust/cargo-flash/default.nix +++ b/pkgs/development/tools/rust/cargo-flash/default.nix @@ -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";