mirror of
https://github.com/nix-community/flakelight.git
synced 2025-02-02 10:39:21 +01:00
Add checks for nixosConfigurations outputs
This commit is contained in:
parent
b18cfb7fb9
commit
cd655770d6
@ -232,6 +232,12 @@ let
|
||||
|
||||
(optionalAttrs (merged.nixosConfigurations != { }) {
|
||||
inherit (merged) nixosConfigurations;
|
||||
checks = mergeOutputs (mapAttrsToList
|
||||
(k: v: {
|
||||
${v.config.nixpkgs.system}."nixos-${k}" =
|
||||
v.config.system.build.toplevel;
|
||||
})
|
||||
merged.nixosConfigurations);
|
||||
})
|
||||
|
||||
(optionalAttrs (merged.templates != { }) {
|
||||
|
Loading…
Reference in New Issue
Block a user