types.singleLineStr: Improve description

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
This commit is contained in:
Jules Aguillon 2022-01-20 22:10:33 +01:00 committed by Jules Aguillon
parent 4baf8548fb
commit 1394bfc32a

View File

@ -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);