summary refs log tree commit diff
path: root/lib/systems/flake-systems.nix
blob: 74124c32e836991a841a84b1592d9dbbd3bb1e94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# See [RFC 46] for mandated platform support and ../../pkgs/stdenv for
# implemented platform support. This list is mainly descriptive, i.e. all
# system doubles for platforms where nixpkgs can do native compiliation
# reasonably well are included.
#
# [RFC 46]: https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md
{ }:

[
  # Tier 1
  "x86_64-linux"
  # Tier 2
  "aarch64-linux"
  "x86_64-darwin"
  # Tier 3
  "armv6l-linux"
  "armv7l-linux"
  "i686-linux"
  "mipsel-linux"

  # Other platforms with sufficient support in stdenv which is not formally
  # mandated by their platform tier.
  "aarch64-darwin"
  "armv5tel-linux"
  "powerpc64le-linux"
  "riscv64-linux"

  # "x86_64-freebsd" is excluded because it is mostly broken
]