From 706cdcf59827644af8715a4495d6d1ff920c1fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Tue, 18 May 2021 16:34:56 +0200 Subject: [PATCH] deno: fix darwin build --- pkgs/development/web/deno/default.nix | 4 +++- pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 98fb32d8d6a..80e68003b4e 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 233be2af172..3e21c98e5fe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };