about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/conf-file.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index a7d60538c215..0f7a2deba049 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -437,10 +437,18 @@ flag, e.g. <literal>--option gc-keep-outputs false</literal>.</para>
     trying to download from a remote host through HTTP or HTTPS. Defaults to
     <filename>$NIX_CONF_DIR/netrc</filename>.</para>
 
-    <para>The <filename>netrc</filename> file consists of zero or more lines
-    like: <literal>machine <replaceable>my-machine</replaceable> login
-    <replaceable>my-username</replaceable> password
-    <replaceable>my-password</replaceable></literal>.</para></listitem>
+    <para>The <filename>netrc</filename> file consists of a list of
+    accounts in the following format:
+
+<screen>
+machine <replaceable>my-machine</replaceable>
+login <replaceable>my-username</replaceable>
+password <replaceable>my-password</replaceable>
+</screen>
+
+    For the exact syntax, see <link
+    xlink:href="https://ec.haxx.se/usingcurl-netrc.html">the
+    <literal>curl</literal> documentation.</link></para></listitem>
 
   </varlistentry>