Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ci): use Apple linker for macOS desktop (#5550)

Sean Ayedc735ff93938
diff --git a/nix/tauri-desktop.nix b/nix/tauri-desktop.nix
index d58e16142e..b774e24c18 100644
--- a/nix/tauri-desktop.nix
+++ b/nix/tauri-desktop.nix
@@ -531,6 +531,11 @@
pname = "macro-tauri-desktop-dmg";
TAURI_CONFIG = tauriDesktopDmgConfig;
APPLE_SIGNING_IDENTITY = tauriDesktopDmgSigningIdentity;
+ # Nix's cctools ld crashes with SIGTRAP while linking the large final
+ # desktop binary on GitHub's macOS 15 arm64 runners. This derivation
+ # is already an impure, unsandboxed native macOS build for signing;
+ # use the runner's Apple linker and SDK for the final Cargo link.
+ CARGO_TARGET_AARCH64_APPLE_DARWIN_LINKER = "/usr/bin/clang";
nativeBuildInputs = tauri.commonArgs.nativeBuildInputs ++ [ pkgs.cargo-tauri ];
preBuild = ''
if [ -z "$APPLE_SIGNING_IDENTITY" ]; then