mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
gopher64: fix build on aarch64-linux
(cherry picked from commit 8730cde5de)
This commit is contained in:
parent
0f40be3ba0
commit
27b2adf0e0
1 changed files with 6 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue