deno: fix darwin build
This commit is contained in:
parent
58ddbfa71d
commit
706cdcf598
@ -11,6 +11,7 @@
|
|||||||
, CoreServices
|
, CoreServices
|
||||||
, Metal
|
, Metal
|
||||||
, Foundation
|
, Foundation
|
||||||
|
, QuartzCore
|
||||||
, librusty_v8 ? callPackage ./librusty_v8.nix { }
|
, librusty_v8 ? callPackage ./librusty_v8.nix { }
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -31,7 +32,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildAndTestSubdir = "cli";
|
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
|
# 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
|
# To avoid this we pre-download the file and place it in the locations it will require it in advance
|
||||||
|
@ -3875,7 +3875,8 @@ in
|
|||||||
|
|
||||||
deno = callPackage ../development/web/deno {
|
deno = callPackage ../development/web/deno {
|
||||||
inherit (darwin) libobjc;
|
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 { };
|
detox = callPackage ../tools/misc/detox { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user