Native Linux Builder for macOS
Available since Determinate Nix 3.8.4. You can read more about that version's release on our blog.
If you’re a macOS user, Determinate Nix offers Native Linux Builder, which you can use to build Docker images, NixOS systems, Linux packages, and other Linux-targeted derivations on macOS with no extra setup or configuration. To provide this cross-system capability, Determinate Nix uses macOS’s built-in Virtualization framework.
Native Linux Builder is available to every macOS user of Determinate Nix who’s logged in to FlakeHub. Once you’re logged in, builds like this work without, for example, setting up a remote builder or running a local Docker image:
nix build nixpkgs#legacyPackages.aarch64-linux.ponysayAnd because Native Linux Builder targets both ARM Linux and x86 Linux, builds like this become possible as well:
nix build nixpkgs#legacyPackages.x86_64-linux.ponysay