reduce scope of forAllSystems

This commit is contained in:
Sean Buckley 2021-10-29 23:37:16 -04:00
parent 0992586ab7
commit 5376b047bd

View file

@ -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