From b52eabd5f2ddb7e290d2292c6ea57f0a76dfa40b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 22 Oct 2022 10:12:00 +0000 Subject: [PATCH] cargo-release: fix build on darwin --- .../development/tools/rust/cargo-release/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-release/default.nix b/pkgs/development/tools/rust/cargo-release/default.nix index 559fbc14c939..c85fff6656e2 100644 --- a/pkgs/development/tools/rust/cargo-release/default.nix +++ b/pkgs/development/tools/rust/cargo-release/default.nix @@ -1,4 +1,12 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }: +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, Security +, curl +, openssl +, pkg-config +}: rustPlatform.buildRustPackage rec { pname = "cargo-release"; @@ -16,7 +24,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] - ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; + ++ lib.optionals stdenv.isDarwin [ Security curl ]; meta = with lib; { description = ''Cargo subcommand "release": everything about releasing a rust crate'';