Add checks

This commit is contained in:
2022-02-17 20:50:53 +00:00
parent 22c878bb69
commit ac0d2bc001
2 changed files with 13 additions and 2 deletions

View File

@@ -40,8 +40,9 @@
}:
let
inherit (builtins) mapAttrs attrValues;
inherit (lib.flake) eachDefaultSystem;
inherit (lib.my) attrsToList mkApp mkShellApp mkShellApp' inlineModules mkDefaultSystemsPkgs flakePackageOverlay;
inherit (lib) recurseIntoAttrs;
inherit (lib.flake) flattenTree eachDefaultSystem;
inherit (lib.my) attrsToList inlineModules mkDefaultSystemsPkgs flakePackageOverlay;
# Extend a lib with extras that _must not_ internally reference private nixpkgs. flake-utils doesn't, but many
# other flakes (e.g. home-manager) probably do internally.
@@ -136,6 +137,10 @@
in
# Stuff for each platform
{
checks = flattenTree {
homeConfigurations = recurseIntoAttrs self.homes;
};
devShell = pkgs.devshell.mkShell {
env = attrsToList {
# starship will show this