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 wasm-pack cache home for nix builds (#4763)

Sean Ayeb5c7a5e9aa32
diff --git a/nix/tauri-desktop.nix b/nix/tauri-desktop.nix
index 6d1a06a35e..439b900c60 100644
--- a/nix/tauri-desktop.nix
+++ b/nix/tauri-desktop.nix
@@ -71,6 +71,10 @@
pkgs.wasm-pack
];
doCheck = false;
+ preBuild = ''
+ export HOME="$TMPDIR"
+ export XDG_CACHE_HOME="$TMPDIR/xdg-cache"
+ '';
buildPhaseCargoCommand = ''
wasm-pack build crates/client/cache-wasm \
--target web \