Merge pull request #63746 from arcnmx/rust-darwin-expand
cargo-expand: fix darwin build
This commit is contained in:
commit
0d61615d8d
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
{ stdenv, rustPlatform, fetchFromGitHub, darwin }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-expand";
|
pname = "cargo-expand";
|
||||||
|
@ -12,6 +12,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
|
cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
|
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
|
||||||
|
|
Loading…
Reference in New Issue