diff options
Diffstat (limited to 'lib/systems/supported.nix')
-rw-r--r-- | lib/systems/supported.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/systems/supported.nix b/lib/systems/supported.nix new file mode 100644 index 00000000000..a1c038a5c8b --- /dev/null +++ b/lib/systems/supported.nix @@ -0,0 +1,26 @@ +# Supported systems according to RFC0046's definition. +# +# https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md +{ lib }: +rec { + # List of systems that are built by Hydra. + hydra = tier1 ++ tier2 ++ tier3 ++ [ + "aarch64-darwin" + ]; + + tier1 = [ + "x86_64-linux" + ]; + + tier2 = [ + "aarch64-linux" + "x86_64-darwin" + ]; + + tier3 = [ + "armv6l-linux" + "armv7l-linux" + "i686-linux" + "mipsel-linux" + ]; +} |