deno: add libiconv as a darwin dependency

This commit is contained in:
06kellyjac 2021-04-22 09:39:23 +01:00
parent 93184413f2
commit 1d86d9e37c

View File

@ -5,6 +5,7 @@
, rust
, rustPlatform
, installShellFiles
, libiconv
, libobjc
, Security
, CoreServices
@ -28,7 +29,7 @@ rustPlatform.buildRustPackage rec {
# Install completions post-install
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ libobjc Security CoreServices Metal Foundation ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
# The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
# To avoid this we pre-download the file and place it in the locations it will require it in advance