@@ -11,6 +11,7 @@
11, CoreServices
11, CoreServices
13, Foundation
13, Foundation
14, librusty_v8 ? callPackage ./librusty_v8.nix { }
15, librusty_v8 ? callPackage ./librusty_v8.nix { }
@@ -31,7 +32,8 @@ rustPlatform.buildRustPackage rec {
32 buildAndTestSubdir = "cli";
33 buildAndTestSubdir = "cli";
35+ buildInputs = lib.optionals stdenv.isDarwin
34− buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
36+ [ libiconv libobjc Security CoreServices Metal Foundation QuartzCore ];
36 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
38 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
37 # To avoid this we pre-download the file and place it in the locations it will require it in advance
39 # To avoid this we pre-download the file and place it in the locations it will require it in advance