File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
pkgs/development/web/deno Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
2727 postPatch = ''
2828 # upstream uses lld on aarch64-darwin for faster builds
2929 # within nix lld looks for CoreFoundation rather than CoreFoundation.tbd and fails
30- substituteInPlace .cargo/config.toml --replace '"-C", "link-arg=- fuse-ld=lld"' ""
30+ substituteInPlace .cargo/config.toml --replace "- fuse-ld=lld " ""
3131 '' ;
3232
3333 # uses zlib-ng but can't dynamically link yet
@@ -41,7 +41,14 @@ rustPlatform.buildRustPackage rec {
4141 ] ;
4242 buildInputs = lib . optionals stdenv . isDarwin (
4343 [ libiconv darwin . libobjc ] ++
44- ( with darwin . apple_sdk . frameworks ; [ Security CoreServices Metal Foundation QuartzCore ] )
44+ ( with darwin . apple_sdk_11_0 . frameworks ; [
45+ Security
46+ CoreServices
47+ Metal
48+ MetalPerformanceShaders
49+ Foundation
50+ QuartzCore
51+ ] )
4552 ) ;
4653
4754 # work around "error: unknown warning group '-Wunused-but-set-parameter'"
You can’t perform that action at this time.
0 commit comments