aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-10-18 18:17:36 +0200
committerLudovic Courtès <ludo@gnu.org>2023-10-18 18:21:04 +0200
commitd0fed2f4df06446eafcc992f0bc7ea154124fdf4 (patch)
treebe6cf68a3bd47c4cf4e42026757b4714c738cfe2 /gnu/packages
parent1076f32111e512ed437f135c9eb6ce2daaafd623 (diff)
downloadguix-d0fed2f4df06446eafcc992f0bc7ea154124fdf4.tar.gz
guix-d0fed2f4df06446eafcc992f0bc7ea154124fdf4.zip
locate: Do not return the system database when it is too old.
Fixes a bug whereby ‘guix locate’ would pick the system database, then decide it’s too old, try to update it, and fail because it’s not writable by unprivileged users. Fixes <https://issues.guix.gnu.org/66612>. * guix/scripts/locate.scm (file-age): New procedure. (suitable-database): Add ‘age-update-threshold’ parameter and honor it. (guix-locate): Remove ‘file-age’. Pass ‘age-update-threshold’ to the ‘database’ option. Reported-by: Matt Wette <matt.wette@gmail.com>
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions