From 4a41226e755f18ff9cd0d3914698c680ee0b804c Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Thu, 8 Aug 2024 01:15:58 +0530 Subject: [PATCH] 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 --- modules/apps.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/apps.nix b/modules/apps.nix index 1171dcf..057ad05 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -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 . + + Note: `nix flake check` is only aware of the `description` attribute in `meta`. + ''; + }; }; }; in