Merge pull request #63963 from arcnmx/rust-darwin-outdated

cargo-outdated: fix darwin build
This commit is contained in:
worldofpeace 2019-06-30 19:16:02 -04:00 committed by GitHub
commit 76a50f0f85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin }:
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, libiconv, curl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "cargo-outdated";
@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
libiconv
curl
];
meta = with stdenv.lib; {