lib: add list of supported systems (#140428)

Adds the first 3 tiers of RFC0046 that are being used in flake.nix.
This commit is contained in:
Jonas Chevalier 2021-10-05 09:14:47 +00:00 committed by GitHub
parent a2a0a58f7c
commit 8377a7bca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 9 deletions

View file

@ -11,15 +11,7 @@
lib = import ./lib;
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
"aarch64-darwin"
];
systems = lib.systems.supported.hydra;
forAllSystems = f: lib.genAttrs systems (system: f system);