about summary refs log tree commit diff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2024-01-29 09:03:08 +0100
committerRobert Hensing <robert@roberthensing.nl>2024-04-04 11:54:46 +0200
commit475a55b2f0433d5324817ab9882102db65e3733e (patch)
treee9db9cf6f9ba326787aa5de93f2c9b28d973825b /lib/types.nix
parent2e1d470569f5a2a1a9154efdf6f21d12c659631d (diff)
lib.types.attrTag: Remove tags from description
You can find them in the sub-options now.
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 02532a991e987..7fe7b5d92eac4 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -644,7 +644,8 @@ rec {
       in
       mkOptionType {
         name = "attrTag";
-        description = "attribute-tagged union of ${choicesStr}";
+        description = "attribute-tagged union";
+        descriptionClass = "noun";
         getSubOptions = prefix:
           mapAttrs
             (tagName: tagOption: {