diff options
author | 06kellyjac <dev@j-k.io> | 2023-12-19 10:40:35 +0000 |
---|---|---|
committer | 06kellyjac <dev@j-k.io> | 2023-12-19 23:21:56 +0000 |
commit | 5206e2075ba2b6f655ca70093a314c7abbc11cce (patch) | |
tree | 6b4245278fd425bfd886981d488738a39945b0d4 /pkgs/development/web | |
parent | 5eed5416ffa70d1a6c1ff00548c746014df7e2c6 (diff) | |
download | nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar.gz nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar.bz2 nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar.lz nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar.xz nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.tar.zst nixlib-5206e2075ba2b6f655ca70093a314c7abbc11cce.zip |
deno: fix darwin build
Provide missing framework Fix substitution to avoid using lld
Diffstat (limited to 'pkgs/development/web')
-rw-r--r-- | pkgs/development/web/deno/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 5ab831adb2d9..054f5ba9cb47 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec { postPatch = '' # upstream uses lld on aarch64-darwin for faster builds # within nix lld looks for CoreFoundation rather than CoreFoundation.tbd and fails - substituteInPlace .cargo/config.toml --replace '"-C", "link-arg=-fuse-ld=lld"' "" + substituteInPlace .cargo/config.toml --replace "-fuse-ld=lld " "" ''; # uses zlib-ng but can't dynamically link yet @@ -41,7 +41,14 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = lib.optionals stdenv.isDarwin ( [ libiconv darwin.libobjc ] ++ - (with darwin.apple_sdk.frameworks; [ Security CoreServices Metal Foundation QuartzCore ]) + (with darwin.apple_sdk_11_0.frameworks; [ + Security + CoreServices + Metal + MetalPerformanceShaders + Foundation + QuartzCore + ]) ); # work around "error: unknown warning group '-Wunused-but-set-parameter'" |