cerulean/nix/snow/flake/modules/checks.nix

27 lines
482 B
Nix
Raw Normal View History

2026-03-14 22:18:28 +10:00
{
lib,
snow,
...
}: let
inherit
(lib)
mkOption
types
;
2026-03-14 22:18:28 +10:00
inherit
2026-03-17 20:37:59 +10:00
(snow.lib)
2026-03-14 22:18:28 +10:00
mkPerSystemFlakeOutput
;
in
2026-03-14 22:18:28 +10:00
mkPerSystemFlakeOutput {
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;
}