git.iko.soy/typeable/nixpkgs
on master help sign in
deno: fix darwin build
commit706cdcf59827644af8715a4495d6d1ff920c1fa2 authorStéphan Kochen <git@stephank.nl> dateTue 18 May 2021, 16:34 (5 years ago) parent58ddbfa
2 files changed+5−2
pkgs/development/web/deno/default.nix+3−1 pkgs/top-level/all-packages.nix+2−1
pkgs/development/web/deno/default.nix+3−1
@@ -11,6 +11,7 @@
1111, CoreServices
1212, Metal
1313, Foundation
14+, QuartzCore
1415, librusty_v8 ? callPackage ./librusty_v8.nix { }
1516}:
1617
@@ -31,7 +32,8 @@ rustPlatform.buildRustPackage rec {
3132
3233 buildAndTestSubdir = "cli";
3334
34− buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
35+ buildInputs = lib.optionals stdenv.isDarwin
36+ [ libiconv libobjc Security CoreServices Metal Foundation QuartzCore ];
3537
3638 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
3739 # To avoid this we pre-download the file and place it in the locations it will require it in advance
pkgs/top-level/all-packages.nix+2−1
@@ -3875,7 +3875,8 @@ in
38753875
38763876 deno = callPackage ../development/web/deno {
38773877 inherit (darwin) libobjc;
3878− inherit (darwin.apple_sdk.frameworks) Security CoreServices Metal Foundation;
3878+ inherit (darwin.apple_sdk.frameworks)
3879+ Security CoreServices Metal Foundation QuartzCore;
38793880 };
38803881
38813882 detox = callPackage ../tools/misc/detox { };