Merge pull request #117557 from happysalada/wrangler_fix_darwin_build

wrangler: fix darwin build
This commit is contained in:
Sandro
2021-03-25 09:31:22 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, Security, CoreServices, CoreFoundation }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, Security, CoreServices, CoreFoundation, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "wrangler";
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security ];
++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security libiconv ];
OPENSSL_NO_VENDOR = 1;