mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
21 lines
483 B
Nix
21 lines
483 B
Nix
{ config, lib, flake-parts-lib, ... }:
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
types
|
|
;
|
|
inherit (flake-parts-lib)
|
|
mkTransposedPerSystemModule
|
|
;
|
|
in
|
|
mkTransposedPerSystemModule {
|
|
name = "checks";
|
|
option = mkOption {
|
|
type = types.lazyAttrsOf types.package;
|
|
default = { };
|
|
description = ''
|
|
Derivations to be built by [`nix flake check`](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-check.html).
|
|
'';
|
|
};
|
|
file = ./checks.nix;
|
|
}
|