Merge pull request #180050 from schuelermine/fix/deno

deno: fix build
This commit is contained in:
Bobby Rong 2022-07-04 09:00:48 +08:00 committed by GitHub
commit ef3fe254f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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