summary refs log tree commit diff
diff options
context:
space:
mode:
authoriarizc Leuname <Notase.Cretagen@gmail.com>2016-04-29 20:49:56 +0300
committeriarizc Leuname <Notase.Cretagen@gmail.com>2016-04-30 16:59:07 +0300
commit7e32b83d779fec08fa055ece6bd936f9efa929a4 (patch)
tree44135ffacf22d3b537f635d79fda615f00a525d6
parentd2dcbd3c00cc55e71a7b816db51cb76dbd9ca16f (diff)
downloadnixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar.gz
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar.bz2
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar.lz
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar.xz
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.tar.zst
nixlib-7e32b83d779fec08fa055ece6bd936f9efa929a4.zip
Manual: rephrase definition for indented strings
Closes #15076
-rw-r--r--nixos/doc/manual/configuration/config-file.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/nixos/doc/manual/configuration/config-file.xml b/nixos/doc/manual/configuration/config-file.xml
index 9b240979273d..3d1cdaf4c4ab 100644
--- a/nixos/doc/manual/configuration/config-file.xml
+++ b/nixos/doc/manual/configuration/config-file.xml
@@ -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>
+      code).
+      See more info about this in the Nix manual <link
+      xlink:href="https://nixos.org/nix/manual/#ssec-values">here</link>.</para>
     </listitem>
   </varlistentry>