mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
types.singleLineStr: Improve description
Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
This commit is contained in:
parent
4baf8548fb
commit
1394bfc32a
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ rec {
|
||||||
in
|
in
|
||||||
mkOptionType {
|
mkOptionType {
|
||||||
name = "singleLineStr";
|
name = "singleLineStr";
|
||||||
description = "string that doesn't contain [\\n\\r]";
|
description = "(optionally newline-terminated) single-line string";
|
||||||
inherit check;
|
inherit check;
|
||||||
merge = loc: defs:
|
merge = loc: defs:
|
||||||
lib.removeSuffix "\n" (merge loc defs);
|
lib.removeSuffix "\n" (merge loc defs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue