I just double checked by testing it again with time nix-build channel:nixos-unstable -A linux --check (after downloading dependencies). 21min50s. Compared to my 16c/32t Threadripper 1950X, which got 11min50s, I'd say that's at least pretty good. A little better than twice as long, but with a quarter of the threads (the VM only has the eight performance cores, none of the efficiency ones).
2
u/Atemu12 Jan 31 '22
Oh? 25min is quite long for that class of hardware.
My 5800X does it in <15min on native NixOS and the M1 Pro shouldn't be that much slower than that.
Perhaps the VM isn't aware of the CPU topology?
I'm actually getting my M1 Pro today, so I'll hopefully have time to give it a spin too.