Skip to content

Commit

Permalink
doc: minimal documentation of supported platforms
Browse files Browse the repository at this point in the history
This commit adds minimal documentation of the supported platforms.
More exhaustive documentation would require producing a list of
platforms for each of the 7 tiers. This was attempted in NixOS#245368, but it
quickly became clear that that would be a long-term effort.

In the meantime, this commit adds the most important information to the
manual.

Co-authored-by: Valentin Gagarin <[email protected]>
  • Loading branch information
asymmetric and fricklerhandwerk committed Oct 2, 2023
1 parent 4a359e2 commit b19e9be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/using-nixpkgs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Using Nixpkgs {#part-using}

```{=include=} chapters
using/platform-support.chapter.md
using/configuration.chapter.md
using/overlays.chapter.md
using/overrides.chapter.md
Expand Down
18 changes: 18 additions & 0 deletions doc/using/platform-support.chapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Platform Support {#chap-platform-support}

Packages receive varying degrees of support, both in terms of maintainer attention and available computation resources for continuous integration (CI).

Below is the list of the best supported platforms:

- `x86_64-linux`: Highest level of support.
- `aarch64-linux`: Well supported, with most packages building successfully in CI.
- `aarch64-darwin`: Receives better support than `x86_64-darwin`.
- `x86_64-darwin`: Receives some support.

There are many other platforms with varying levels of support.
The provisional platform list in [Appendix A] of [RFC046], while not up to date, can be used as guidance.

A more formal definition of the platform support tiers is provided in [RFC046], but has not been fully implemented yet.

[RFC046]: https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md
[Appendix A]: https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md#appendix-a-non-normative-description-of-platforms-in-november-2019

0 comments on commit b19e9be

Please sign in to comment.