mirror of
https://github.com/NixOS/nix.git
synced 2025-10-14 10:57:58 +08:00

Prior patches in54dc5314e8
and6db6190002
fixed the default system double for i686 and ppc/ppc64. This also patch also covers 32 bit arm and mips. ARM cpu names are taken from host_machine.cpu() for a lack of a better option, but host_machine.cpu_family() is preferred, since that is supposed to be somewhat standard for cross files. Endianness is handled correctly by looking at host_machine.endian(). This also updates the documentation to be up to date to how system cpu is translated from the host_machine specification.