mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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 {
|
||||
pname = "cargo-expand";
|
||||
@ -12,6 +12,7 @@ rustPlatform.buildRustPackage rec {
|
||||
};
|
||||
|
||||
cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
|
||||
|
Loading…
Reference in New Issue
Block a user