Merge pull request #275377 from 06kellyjac/deno_darwin

deno: fix darwin build

authored by Peder Bergebakken Sundt and committed by GitHub 0c955df3 9c4ac049

+9 -2
+9 -2
pkgs/development/web/deno/default.nix
··· 27 27 postPatch = '' 28 28 # upstream uses lld on aarch64-darwin for faster builds 29 29 # 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 " "" 31 31 ''; 32 32 33 33 # uses zlib-ng but can't dynamically link yet ··· 41 41 ]; 42 42 buildInputs = lib.optionals stdenv.isDarwin ( 43 43 [ 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 + ]) 45 52 ); 46 53 47 54 # work around "error: unknown warning group '-Wunused-but-set-parameter'"