aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-17 08:43:45 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-17 08:43:45 +0200
commit8ea842260b4fd93315d35c5ba94b1ff99ab391d8 (patch)
tree924c212f07fbb318ecd1ebbb74b369e65102e623 /src/libstore/globals.hh
parent415fc233e3f01a3bb3cfac01deb9f4ca4af7fb19 (diff)
Add '--no-net' convenience flag
This flag * Disables substituters. * Sets the tarball-ttl to infinity (ensuring e.g. that the flake registry and any downloaded flakes are considered current). * Disables retrying downloads and sets the connection timeout to the minimum. (So it doesn't completely disable downloads at the moment.)
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 80d70fba3..2aecebe3d 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -255,7 +255,7 @@ public:
"Secret keys with which to sign local builds."};
Setting<unsigned int> tarballTtl{this, 60 * 60, "tarball-ttl",
- "How soon to expire files fetched by builtins.fetchTarball and builtins.fetchurl."};
+ "How long downloaded files are considered up-to-date."};
Setting<bool> requireSigs{this, true, "require-sigs",
"Whether to check that any non-content-addressed path added to the "