wrangler: fix darwin build
This commit is contained in:
parent
77cf1c3445
commit
326445a4d6
@ -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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wrangler";
|
pname = "wrangler";
|
||||||
@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security ];
|
++ lib.optionals stdenv.isDarwin [ curl CoreFoundation CoreServices Security libiconv ];
|
||||||
|
|
||||||
OPENSSL_NO_VENDOR = 1;
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
|
||||||
|
@ -4035,6 +4035,7 @@ in
|
|||||||
|
|
||||||
wrangler = callPackage ../development/tools/wrangler {
|
wrangler = callPackage ../development/tools/wrangler {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security;
|
||||||
|
inherit (darwin) libiconv;
|
||||||
};
|
};
|
||||||
|
|
||||||
wsl-open = callPackage ../tools/misc/wsl-open { };
|
wsl-open = callPackage ../tools/misc/wsl-open { };
|
||||||
|
Loading…
Reference in New Issue
Block a user