Manual: rephrase definition for indented strings (#15086)
Closes #15076
This commit is contained in:
parent
586d1f67ce
commit
e704c90b50
@ -106,11 +106,15 @@ networking.extraHosts =
|
|||||||
'';
|
'';
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
The main difference is that preceding whitespace is
|
The main difference is that it strips from each line
|
||||||
automatically stripped from each line, and that characters like
|
a number of spaces equal to the minimal indentation of
|
||||||
|
the string as a whole (disregarding the indentation of
|
||||||
|
empty lines), and that characters like
|
||||||
<literal>"</literal> and <literal>\</literal> are not special
|
<literal>"</literal> and <literal>\</literal> are not special
|
||||||
(making it more convenient for including things like shell
|
(making it more convenient for including things like shell
|
||||||
code).</para>
|
code).</para>
|
||||||
|
See more info about this in the Nix manual <link
|
||||||
|
xlink:href="https://nixos.org/nix/manual/#ssec-values">here</link>.
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user