gopher64: fix build on aarch64-linux (#536464)

This commit is contained in:
Toma
2026-07-06 16:15:23 +00:00
committed by GitHub
+6
View File
@@ -56,6 +56,12 @@ rustPlatform.buildRustPackage.override { inherit stdenv; } (finalAttrs: {
cargoHash = "sha256-rmt2b8lk/9ts8v33yguuSFcbFvUX00icg1onmhCbDTQ=";
# don't use lld on aarch64-linux
postPatch = ''
substituteInPlace .cargo/config.toml \
--replace-fail 'rustflags = ["-C", "link-arg=-fuse-ld=lld"]' ""
'';
env = {
# See pkgs/by-name/ne/neovide/package.nix
SKIA_SOURCE_DIR =