summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-11-08 13:31:29 +0100
committerGitHub <noreply@github.com>2022-11-08 13:31:29 +0100
commit025f32f705d171fe63a71a907bd9700f8c1c1f33 (patch)
tree53fa1711c0dc6c95ad5b545561d01227fbaeefa3 /lib
parentbc5ad970780580ec272b3a6bc5f9bddf4e250d3c (diff)
lib/types: add `descriptionClass` for `path`
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index b83898744df82..270ac1748c796 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -478,6 +478,7 @@ rec {
 
     path = mkOptionType {
       name = "path";
+      descriptionClass = "noun";
       check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/";
       merge = mergeEqualOption;
     };