cargo-outdated: fix darwin build

This commit is contained in:
arcnmx 2019-06-24 15:27:08 -07:00
parent e3926c8043
commit c75653b015

View File

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