mapAttrs -> mapAttrsToList for hydra aggregate
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
c1b3899888
commit
0b1d843fd2
@ -1,6 +1,6 @@
|
||||
{ inputs, outputs }:
|
||||
let
|
||||
inherit (inputs.nixpkgs.lib) mapAttrs;
|
||||
inherit (inputs.nixpkgs.lib) mapAttrsToList;
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||
@ -9,6 +9,6 @@ in
|
||||
inherit (outputs) formatter devShells checks;
|
||||
hosts = pkgs.releaseTools.aggregate {
|
||||
name = "hosts";
|
||||
constituents = mapAttrs getCfg outputs.nixosConfigurations;
|
||||
constituents = mapAttrsToList getCfg outputs.nixosConfigurations;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user