mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
Document that redirected tarball flakerefs can specify lastModified
(cherry picked from commit56763ff918
) (cherry picked from commit70559cf89a
)
This commit is contained in:
parent
c3bbedaed5
commit
f9064a4ae4
@ -18,8 +18,8 @@ Link: <flakeref>; rel="immutable"
|
||||
|
||||
(Note the required `<` and `>` characters around *flakeref*.)
|
||||
|
||||
*flakeref* must be a tarball flakeref. It can contain flake attributes
|
||||
such as `narHash`, `rev` and `revCount`. If `narHash` is included, its
|
||||
*flakeref* must be a tarball flakeref. It can contain the tarball flake attributes
|
||||
`narHash`, `rev`, `revCount` and `lastModified`. If `narHash` is included, its
|
||||
value must be the NAR hash of the unpacked tarball (as computed via
|
||||
`nix hash path`). Nix checks the contents of the returned tarball
|
||||
against the `narHash` attribute. The `rev` and `revCount` attributes
|
||||
|
Loading…
Reference in New Issue
Block a user