Tweak netrc docs

This commit is contained in:
Eelco Dolstra 2017-02-16 14:23:30 +01:00
parent b63f79175e
commit bd5388e7b2
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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 trying to download from a remote host through HTTP or HTTPS. Defaults to
<filename>$NIX_CONF_DIR/netrc</filename>.</para> <filename>$NIX_CONF_DIR/netrc</filename>.</para>
<para>The <filename>netrc</filename> file consists of zero or more lines <para>The <filename>netrc</filename> file consists of a list of
like: <literal>machine <replaceable>my-machine</replaceable> login accounts in the following format:
<replaceable>my-username</replaceable> password
<replaceable>my-password</replaceable></literal>.</para></listitem> <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> </varlistentry>