From e01b01c5799046a030f24d913ca4f4cbfa997a9c Mon Sep 17 00:00:00 2001 From: AmineChikhaoui Date: Fri, 6 Apr 2018 11:09:52 +0100 Subject: update/re-order the options docs --- doc/manual/command-ref/conf-file.xml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'doc') diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml index a4d411d7075b..431c0e6d3570 100644 --- a/doc/manual/command-ref/conf-file.xml +++ b/doc/manual/command-ref/conf-file.xml @@ -456,7 +456,7 @@ builtins.fetchurl { - negative-disk-cache-ttl + narinfo-cache-negative-ttl @@ -469,6 +469,24 @@ builtins.fetchurl { + narinfo-cache-positive-ttl + + + + The TTL in seconds for positive lookups. If a store path is + queried from a substituter, the result of the query will be cached + in the local disk cache database including some of the NAR + metadata. The default TTL is a month, setting a shorter TTL for + positive lookups can be useful for binary caches that have + frequent garbage collection, in which case having a more frequent + cache invalidation would prevent trying to pull the path again and + failing with a hash mismatch if the build isn't reproducible. + + + + + + netrc-file If set to an absolute path to a netrc @@ -523,24 +541,6 @@ password my-password - positive-disk-cache-ttl - - - - The TTL in seconds for positive lookups. If a store path is - queried from a substituter, the result of the query will be cached - in the local disk cache database including some of the NAR - metadata. The default TTL is a month, setting a shorter TTL for - positive lookups can be useful for binary caches that have - frequent garbage collection, in which case having a more frequent - cache invalidation would prevent trying to pull the path again and - failing with a hash mismatch if the build isn't reproducible. - - - - - - pre-build-hook -- cgit 1.4.1