From 32ec81ff6c89ddfe4c3496e5aed2906848016221 Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Sun, 22 Nov 2026 17:56:42 +0100 Subject: [PATCH] build: cross-compile with Nix gcc toolchains instead of zig; drop macOS; v0.1.1 --- .gitea/workflows/release.yml | 2 +- AGENTS.md | 20 +++--- README.md | 5 ++ devbox.json | 11 ++- devbox.lock | 129 ++++++++++++++++++----------------- scripts/build.sh | 49 +++++++------ scripts/zigcc | 12 ---- src/sirmem/core.nim | 2 +- 8 files changed, 118 insertions(+), 112 deletions(-) delete mode 100755 scripts/zigcc diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d41d834..c285cc5 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -1,6 +1,6 @@ # Gitea Actions, triggered only by pushed v* tags (the runner is slow): tests, then release. # Runs on the NixOS host runner (label `nixos`, host mode) with plain shell steps only. -# Tooling comes from the host's devbox, which honours devbox.lock like local runs. +# Tooling comes from the host's devbox (honours devbox.lock); cross gcc comes from nix shell. # Release upload goes through the Gitea REST API with the built-in job token. name: ci on: diff --git a/AGENTS.md b/AGENTS.md index 91bff35..fc193e0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ Nim CLI (stdlib only, no nimble deps) for a file-based knowledge-graph memory. ## Tooling: devbox -All tooling comes from devbox (nim, zig, git). Use `devbox shell` or +All tooling comes from devbox (nim, git, file). Cross toolchains come from Nix (below). Use `devbox shell` or `devbox run