mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
apps: Add meta
option
This allows specifying metadata info about the flake app. This has been standardized in Nix at https://github.com/NixOS/nix/pull/11297
This commit is contained in:
parent
8471fe90ad
commit
4a41226e75
1 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,16 @@ let
|
|||
A path to an executable or a derivation with `meta.mainProgram`.
|
||||
'';
|
||||
};
|
||||
meta = mkOption {
|
||||
type = types.lazyAttrsOf lib.types.raw;
|
||||
default = { };
|
||||
description = ''
|
||||
Metadata information about the app.
|
||||
Standardaized in Nix at <https://github.com/NixOS/nix/pull/11297>.
|
||||
|
||||
Note: `nix flake check` is only aware of the `description` attribute in `meta`.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue