nix: a flake that builds every binary, the tool image and a dev shell

Follows the owner's other projects (sift, tether): nixpkgs pinned to
nixos-26.05, x86_64-linux, the version from the commit. `packages.default`
builds all six binaries with rustPlatform (tests stay in `make gate`),
`packages.tools-image` is deploy/tools-image.nix, and `devShells.default`
has Rust 1.95.0, clippy, rustfmt, cargo-deny and make. No NixOS module
yet: that is M8 (P22).

Checked on straylight: `nix flake check` passes; `nix build` gives
brokerd, bxctl, gatewayd, inferproxy, loopd and toolkit, each printing
its usage; `nix build .#tools-image` and `nix develop` work.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-25 16:41:29 -07:00
co-authored by Claude Opus 5.5
parent 45f311ecfc
commit 41f8329afe
5 changed files with 119 additions and 0 deletions
+4
View File
@@ -4,3 +4,7 @@
# Local secrets and accounts (for example mattermost.env): never commit.
*.env
# Nix build outputs.
/result
/result-*