cargo-release: fix darwin build
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "cargo-release-${version}";
|
||||
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1f0wgggsjpmcijq07abm3yw06z2ahsdr9iwn4izljvkc1nkqk6jq";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
||||
homepage = https://github.com/sunng87/cargo-release;
|
||||
|
||||
Reference in New Issue
Block a user