diff options
author | Naïm Favier <n@monade.li> | 2022-11-08 13:31:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 13:31:29 +0100 |
commit | 025f32f705d171fe63a71a907bd9700f8c1c1f33 (patch) | |
tree | 53fa1711c0dc6c95ad5b545561d01227fbaeefa3 /lib | |
parent | bc5ad970780580ec272b3a6bc5f9bddf4e250d3c (diff) |
lib/types: add `descriptionClass` for `path`
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 1 |
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; }; |