cerulean/nix/snow/flake/outputs/checks.nix

27 lines
482 B
Nix
Raw Normal View History

2026-03-15 01:10:36 +10:00
{
2026-03-17 22:45:46 +10:00
lib,
snow,
2026-03-15 01:10:36 +10:00
...
2026-03-17 22:45:46 +10:00
}: let
inherit
(lib)
mkOption
types
;
inherit
(snow.lib)
mkPerSystemFlakeOutput
;
in
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;
}