summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-04-11 22:11:29 +0200
committersternenseemann <sternenseemann@systemli.org>2022-05-23 15:27:30 +0200
commit168b926435628cb06c4a8cb0f3e6f69f141529f1 (patch)
treeaadc17fe211331852eef5a9658533c91071e8c0f /flake.nix
parent6d82088583295dea8f9d7f61641dc3d8c5014fc7 (diff)
lib.systems: remove supported, replace with flakeExposed
Since the list only gates the platforms the nixpkgs flake exposes packages to build on, the `hydra` label made little sense. It was also only used for this purpose, so the `tier*` attributes were largely unnecessary. To reflect the intention more accurately, we expose `lib.systems.flakeExposed` and use it to gate flake.nix's system list.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index c48d6c68e583..8c0403adc4a3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,9 +11,7 @@
lib = import ./lib;
- systems = lib.systems.supported.hydra;
-
- forAllSystems = f: lib.genAttrs systems (system: f system);
+ forAllSystems = f: lib.genAttrs lib.systems.flakeExposed (system: f system);
in
{