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 = { lib = {
getHosts = import lib/hosts.nix; getHosts = import lib/hosts.nix;
morphHosts = import lib/morph.nix; morphHosts = import lib/morph.nix;
forAllSystems = f: builtins.mapAttrs forAllSystems = f: builtins.listToAttrs (map
(name: _: f name) (name: { inherit name; value = f name; })
(nixpkgs.legacyPackages); (with nixpkgs.lib.systems.supported; tier1 ++ tier2));
}; };
packages = self.lib.forAllSystems packages = self.lib.forAllSystems