1
0
Fork 0
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:
shivaraj-bh 2024-08-08 01:15:58 +05:30
parent 8471fe90ad
commit 4a41226e75

View file

@ -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