Merge pull request #120175 from 06kellyjac/deno

deno: add libiconv as a darwin dependency
This commit is contained in:
Mario Rodas 2021-04-22 08:03:24 -05:00 committed by GitHub
commit d0a6d3b834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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