Skip to content

Commit ec52ea0

Browse files
Mic92Ericson2314
andauthored
Update doc/manual/source/development/building.md
Co-authored-by: John Ericson <[email protected]>
1 parent 9a49872 commit ec52ea0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/manual/source/development/building.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,17 @@ nix build .#nix-everything-x86_64-unknown-freebsd
213213
nix build .#nix-everything-x86_64-w64-mingw32
214214
```
215215

216+
For historic reasons and backward-compatibility, some CPU and OS identifiers are translated as follows:
217+
218+
| `config.guess` | Nix |
219+
|----------------------------|---------------------|
220+
| `amd64` | `x86_64` |
221+
| `i*86` | `i686` |
222+
| `arm6` | `arm6l` |
223+
| `arm7` | `arm7l` |
224+
| `linux-gnu*` | `linux` |
225+
| `linux-musl*` | `linux` |
226+
216227
## Compilation environments
217228

218229
Nix can be compiled using multiple environments:

0 commit comments

Comments
 (0)