cargo-release: fix darwin build
This commit is contained in:
parent
d93c4e2f85
commit
cea5c7f95f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, rustPlatform, fetchFromGitHub, Security, openssl, pkg-config }:
|
{ stdenv, rustPlatform, fetchFromGitHub, libiconv, Security, openssl, pkg-config }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-release";
|
pname = "cargo-release";
|
||||||
@ -14,7 +14,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "1a6ac4x51i1rg0bgrxbbdd54gmwldsiv7nn8vi81y20llnshgjk7";
|
cargoSha256 = "1a6ac4x51i1rg0bgrxbbdd54gmwldsiv7nn8vi81y20llnshgjk7";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user