diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-07-05T22·15+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05T22·15+0200 |
commit | b5ae85f0882f4857f550ed68b23af260af5000a0 (patch) | |
tree | 1d7147b0c06d650a3b9d06c74d77c6e86fecfde6 /doc/manual/expressions/builtins.xml | |
parent | e486d8d40e626a20e06d792db8cc5ac5aba9a5b4 (diff) | |
parent | 648bdf153d2e4d3c6687d8e1780b0dfd0aa98cda (diff) |
Merge pull request #2882 from grahamc/docs/1115-tarball-ttl
tarball-ttl: document
Diffstat (limited to 'doc/manual/expressions/builtins.xml')
-rw-r--r-- | doc/manual/expressions/builtins.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 69123fff0e2e..4c1d618e951c 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -347,7 +347,7 @@ stdenv.mkDerivation { … } You can change the cache timeout either on the command line with <option>--option tarball-ttl <replaceable>number of seconds</replaceable></option> or in the Nix configuration file with this option: - <literal>tarball-ttl <replaceable>number of seconds to cache</replaceable></literal>. + <literal><xref linkend="conf-tarball-ttl" /> <replaceable>number of seconds to cache</replaceable></literal>. </para> <para>Note that when obtaining the hash with <varname>nix-prefetch-url @@ -513,7 +513,7 @@ stdenv.mkDerivation { … } fetch the latest version of a remote branch. </para> <note><para>Nix will refetch the branch in accordance to - <option>tarball-ttl</option>.</para></note> + <xref linkend="conf-tarball-ttl" />.</para></note> <note><para>This behavior is disabled in <emphasis>Pure evaluation mode</emphasis>.</para></note> <programlisting>builtins.fetchGit { |