forked from mirrors/nixpkgs
cargo-msrv: fix darwin build
This commit is contained in:
parent
d660a7d361
commit
67e530be79
|
@ -4,6 +4,9 @@
|
|||
, nix-update-script
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, libiconv
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -28,7 +31,9 @@ rustPlatform.buildRustPackage rec {
|
|||
# Integration tests fail
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = if stdenv.isDarwin
|
||||
then [ libiconv Security ]
|
||||
else [ openssl ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
|
@ -11529,7 +11529,9 @@ in
|
|||
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv { };
|
||||
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-play = callPackage ../development/tools/rust/cargo-play { };
|
||||
cargo-raze = callPackage ../development/tools/rust/cargo-raze {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue