1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

add note on historicity platform encoding

there have been discussions around migrating the platform description to a more structured representation like an attribute set (cannot find relevant issue for reference right now), and it is worth noting that this string encoding is fairly arbitrary.
This commit is contained in:
Valentin Gagarin 2021-12-15 11:01:47 +01:00 committed by fricklerhandwerk
parent c3fe9d754c
commit 12004ac36f

View file

@ -62,6 +62,8 @@ for development), the platform config has to be constructed manually via the fol
<cpu>-<vendor>-<os>-<abi>
```
This string representation is used in `nixpkgs` for historic reasons.
Note that `<vendor>` is often `unknown` and `<abi>` is optional.
There's also no unique identifier for a platform, for example `unknown` and
`pc` are interchangeable (hence it's called config.guess).