mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
cargo-release: fix darwin build
This commit is contained in:
parent
f15466ecf7
commit
db5fe5d240
@ -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;
|
||||
|
@ -7465,7 +7465,9 @@ in
|
||||
|
||||
cargo-download = callPackage ../tools/package-management/cargo-download { };
|
||||
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
|
||||
cargo-release = callPackage ../tools/package-management/cargo-release { };
|
||||
cargo-release = callPackage ../tools/package-management/cargo-release {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-tree = callPackage ../tools/package-management/cargo-tree { };
|
||||
cargo-update = callPackage ../tools/package-management/cargo-update { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user