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.