Perlpimp
AboutCVBlogContact

cross-compilation

March 21, 2026

Distributing a Private CLI via Homebrew with Nix Cross-Compilation

Setting up a private Homebrew tap to distribute a Rust CLI tool — using Nix for reproducible cross-compilation across four platforms, GitHub Releases for binary hosting, and a release script that handles the whole thing.

March 18, 2026

Building Portable Rust CLI Binaries with Nix — Static Linux, Portable macOS

Packaging a Rust CLI tool with Nix so it produces fully static Linux binaries (musl) and portable macOS binaries — no Nix store paths baked in, no runtime dependencies to chase.

© 2026 Ian Johannesen

Built with Zola + Nix · Fork on GitHub · Atom · RSS