diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-10-17 16:24:45 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-03 17:18:39 +0100 |
| commit | 02d3a5a1fb7275a5f313e1c55e6ae1d297bab50c (patch) | |
| tree | 9bc9a1bf61f687db6adb4ad107bce111837c809d /gnu/tests | |
| parent | 529dce6e98c22f00052df231414bca4f86e02094 (diff) | |
publish: Explicitly update the atime for cache expiry.
Mounting file systems with ‘noatime’ is common. Thus, avoid relying on the
atime.
* guix/scripts/publish.scm (render-narinfo/cached): Add ‘utime’ call on cache
hit. Use ‘stat’ instead of ‘file-exists?’.
(bake-narinfo+nar): Update comment.
Change-Id: Id8c68d3b793922fdadca8cbd02b50368b418bb67
Diffstat (limited to 'gnu/tests')
0 files changed, 0 insertions, 0 deletions
