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(nix): keep .proto files in service build sources (#8963)

Wolf Mermelstein673d13b64d45
diff --git a/nix/cloud-storage.nix b/nix/cloud-storage.nix
index 1b935457eb..dc4f9b6325 100644
--- a/nix/cloud-storage.nix
+++ b/nix/cloud-storage.nix
@@ -58,10 +58,12 @@
# `crates/pptx_engine` embeds with `include_bytes!`; `.graphql` for the
# `static_assets/schema.graphql` that `cache-core`'s build script reads;
# `.jsonl` for the recorded sessions `agent_fold` tests embed; `.mjs`
- # for the Deno bootstrap and bundled public SDK/Handlebars runtime.
+ # for the Deno bootstrap and bundled public SDK/Handlebars runtime;
+ # `.proto` for the protobuf files the `whatsmeow_proto` and
+ # `whatsmeow_signal` build scripts compile.
assetFilter =
path: _type:
- builtins.match ".*\\.(md|html|txt|json|jsonl|canvas|sql|sh|ttf|xml|graphql|mjs)$" path != null;
+ builtins.match ".*\\.(md|html|txt|json|jsonl|canvas|sql|sh|ttf|xml|graphql|mjs|proto)$" path != null;
# Rust local HTTP clients embed only the public proxy CA, never its keys.
localCaFilter = path: _type: pkgs.lib.hasSuffix "/infra/local/certs/ca.pem" (toString path);
binFilter = path: _type: builtins.match ".*\\.bin$" path != null;