Manual: rephrase definition for indented strings (#15086)

Closes #15076
This commit is contained in:
NotaseCretagen 2016-04-30 14:14:06 +03:00 committed by Domen Kožar
parent 586d1f67ce
commit e704c90b50

View file

@ -106,11 +106,15 @@ networking.extraHosts =
'';
</programlisting>
The main difference is that preceding whitespace is
automatically stripped from each line, and that characters like
The main difference is that it strips from each line
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
(making it more convenient for including things like shell
code).</para>
See more info about this in the Nix manual <link
xlink:href="https://nixos.org/nix/manual/#ssec-values">here</link>.
</listitem>
</varlistentry>