From 1394bfc32a7f2398815b000ad11812f2da7ea2d5 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 20 Jan 2022 22:10:33 +0100 Subject: [PATCH] types.singleLineStr: Improve description Co-authored-by: pennae <82953136+pennae@users.noreply.github.com> --- lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.nix b/lib/types.nix index 7acfa60f161f..cc3ac5fdf6fb 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -307,7 +307,7 @@ rec { in mkOptionType { name = "singleLineStr"; - description = "string that doesn't contain [\\n\\r]"; + description = "(optionally newline-terminated) single-line string"; inherit check; merge = loc: defs: lib.removeSuffix "\n" (merge loc defs);