mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
cargo-c: fix darwin build (#95575)
This commit is contained in:
parent
3cc44ba04e
commit
36e0fa9385
@ -1,5 +1,6 @@
|
||||
{ rustPlatform, stdenv, lib, fetchFromGitHub, fetchurl
|
||||
, pkg-config, openssl
|
||||
, CoreFoundation, libiconv, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -30,7 +31,8 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoSha256 = "1gwyszpcmss2d0lm5hvf3b48jy7b0fm7xizhrl3wd6rzw7pg06zd";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries";
|
||||
|
@ -9417,7 +9417,9 @@ in
|
||||
cargo-audit = callPackage ../tools/package-management/cargo-audit {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-c = callPackage ../development/tools/rust/cargo-c { };
|
||||
cargo-c = callPackage ../development/tools/rust/cargo-c {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
cargo-deb = callPackage ../tools/package-management/cargo-deb {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user