From 025f32f705d171fe63a71a907bd9700f8c1c1f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 8 Nov 2022 13:31:29 +0100 Subject: [PATCH] lib/types: add `descriptionClass` for `path` --- lib/types.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/types.nix b/lib/types.nix index b83898744df8..270ac1748c79 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; };