deno: fix build

This commit is contained in:
Anselm Schüler 2022-07-03 23:17:45 +02:00
parent 468d2bdcf1
commit 941756bbe4

View File

@ -29,7 +29,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 --replace '"-C", "link-arg=-fuse-ld=lld"' ""
substituteInPlace .cargo/config.toml --replace '"-C", "link-arg=-fuse-ld=lld"' ""
'';
# Install completions post-install