gopher64: fix build on aarch64-linux

This commit is contained in:
TomaSajt
2026-07-06 16:38:51 +02:00
parent 0a8309b92e
commit 8730cde5de

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 =