From 5376b047bd8149b1f53665864e7a320bd70a0571 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 29 Oct 2021 23:37:16 -0400 Subject: [PATCH] reduce scope of forAllSystems --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 219845e..8612535 100644 --- a/flake.nix +++ b/flake.nix @@ -30,9 +30,9 @@ lib = { getHosts = import lib/hosts.nix; morphHosts = import lib/morph.nix; - forAllSystems = f: builtins.mapAttrs - (name: _: f name) - (nixpkgs.legacyPackages); + forAllSystems = f: builtins.listToAttrs (map + (name: { inherit name; value = f name; }) + (with nixpkgs.lib.systems.supported; tier1 ++ tier2)); }; packages = self.lib.forAllSystems