Perlpimp
AboutCVBlogContact

cross-compilation

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