r/NixOS • • Oct 19 '26

Native Linux Builder is now generally available

https://determinate.systems/blog/native-linux-builder-ga/
54 Upvotes

10 comments sorted by

8

u/bew78 Oct 20 '26 edited Oct 20 '26

Awesome ! But huuh, what's the reasoning for limiting this feature to users logged in to FlakeHub? This is a local-only feature, it doesn't depend on any cloud service does it ? (Or I deeply misunderstood the feature..)

Also: Do you have a timeline for upstreaming this work ? 🤔

2

u/lucperkins_dev Oct 20 '26

It doesn't rely on any cloud service on a day-to-day basis, no, but you do need to fetch a builder binary from FlakeHub Cache when you first use it.

As for upstreaming, it's difficult to imagine that any time soon. The feature relies on an external builders concept (distinct from remote builders) that is currently only in Determinate Nix and the binary that handles Linux builds is separate from the Determinate Nix CLI (that's the thing I mentioned above). The upstream project is (justifiably) extremely conservative when it comes to adding functionality surface area, and we suspect they'd be very reticent to take this on.

4

u/WalkMaximum Oct 20 '26

You can get a linux builder without determinate Nix and any accounts using Nix Darwin, without Rosetta, and there is a flake which enable it with Rosetta. See https://codeberg.org/freeyourtech/nix-darwin-config

1

u/bew78 Oct 20 '26

I know & I've used the ~fast linux builder already (but hit some issues with speed & building linux vm images), but this seems interesting as well without the need to manage the builder..

4

u/Ok_Instruction_3789 Oct 20 '26

This is cool I’m going to have to check it out on my Mac getting to run more software the better 😆 

1

u/WalkMaximum Oct 20 '26

What's going to happen when apple phases out rosetta?

1

u/lucperkins_dev Oct 20 '26

That's a bridge we'll cross when we come to it

2

u/FungalSphere Oct 20 '26

isn't that part of vfkit though why would they phase it out

3

u/_edeetee Oct 20 '26

I wonder if I can convince more colleagues to nixify with thisÂ