mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
reduce scope of forAllSystems
This commit is contained in:
parent
0992586ab7
commit
5376b047bd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue