New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manual: Add missing section on tarball-ttl #2978
Conversation
See also #2882. |
<para>This is most relevant for fetching tarballs that change remotely | ||
via <envar>NIX_PATH</envar> or <function>fetchGit</function>. | ||
Using <option>--option tarball-ttl 0</option> forces nix to re-fetch | ||
these tarballs.</para> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not enitirely correct. TTL=0 doesn't force a re-fetch, it forces Nix to check whether the tarball is still up-to-date using the ETag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I incorporated much of this text, and this feedback in https://github.com/NixOS/nix/pull/2882/files
Incorporates text from Niklas Hambüchen in NixOS#2978 Closes NixOS#1115
Incorporates text from Niklas Hambüchen in NixOS#2978 Closes NixOS#1115
Incorporates text from Niklas Hambüchen in NixOS#2978 Closes NixOS#1115
Incorporates text from Niklas Hambüchen in NixOS#2978 Closes NixOS#1115
Incorporates text from Niklas Hambüchen in NixOS#2978 Closes NixOS#1115
can be closed I guess since other PR got merged |
No description provided.