diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-11 10:33:52 +0200 |
---|---|---|
committer | Stéphan Kochen <git@stephank.nl> | 2021-05-11 10:33:52 +0200 |
commit | 67e530be793dd3c9b1c9f6eb61b471ddb99b796d (patch) | |
tree | 5f87c6d3556508c8bdb42f00077e9cc17bcd465c /pkgs/development/tools/rust/cargo-msrv/default.nix | |
parent | d660a7d361736aaf76f87b182d45ba6d47a7f82c (diff) | |
download | nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar.gz nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar.bz2 nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar.lz nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar.xz nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.tar.zst nixpkgs-67e530be793dd3c9b1c9f6eb61b471ddb99b796d.zip |
cargo-msrv: fix darwin build
Diffstat (limited to 'pkgs/development/tools/rust/cargo-msrv/default.nix')
-rw-r--r-- | pkgs/development/tools/rust/cargo-msrv/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/cargo-msrv/default.nix b/pkgs/development/tools/rust/cargo-msrv/default.nix index 32ce1464f82..d5feba80d09 100644 --- a/pkgs/development/tools/rust/cargo-msrv/default.nix +++ b/pkgs/development/tools/rust/cargo-msrv/default.nix @@ -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 ]; |