mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
cargo-msrv: fix darwin build
This commit is contained in:
parent
d660a7d361
commit
67e530be79
2 changed files with 9 additions and 2 deletions
|
@ -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