deno: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-18 16:34:56 +02:00 committed by Jonathan Ringer
parent 58ddbfa71d
commit 706cdcf598
2 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,7 @@
, CoreServices
, Metal
, Foundation
, QuartzCore
, librusty_v8 ? callPackage ./librusty_v8.nix { }
}:
@ -31,7 +32,8 @@ rustPlatform.buildRustPackage rec {
buildAndTestSubdir = "cli";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
buildInputs = lib.optionals stdenv.isDarwin
[ libiconv libobjc Security CoreServices Metal Foundation QuartzCore ];
# 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

View file

@ -3875,7 +3875,8 @@ in
deno = callPackage ../development/web/deno {
inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) Security CoreServices Metal Foundation;
inherit (darwin.apple_sdk.frameworks)
Security CoreServices Metal Foundation QuartzCore;
};
detox = callPackage ../tools/misc/detox { };