1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-15 17:50:53 +00:00
flake-parts/modules/flake.nix

27 lines
518 B
Nix
Raw Normal View History

2021-11-21 14:47:11 +00:00
{ config, lib, ... }:
let
inherit (lib)
filterAttrs
mapAttrs
mkOption
optionalAttrs
types
;
in
{
options = {
flake = mkOption {
type = types.submoduleWith {
modules = [
{ freeformType = types.lazyAttrsOf types.raw; }
2021-11-21 14:47:11 +00:00
];
};
2022-11-11 06:39:25 +00:00
description = ''
2022-11-11 05:40:37 +00:00
Raw flake output attributes. Any attribute can be set here, but some
2021-11-21 14:47:11 +00:00
attributes are represented by options, to provide appropriate
configuration merging.
'';
};
};
}