From 883255eee1a3d1896e2da33cc60c19f050e498c2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 20 May 2024 14:27:39 +0100 Subject: Fix removing cached narinfo files from the db --- scripts/nar-herder.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in index 7f5db5c..094660a 100644 --- a/scripts/nar-herder.in +++ b/scripts/nar-herder.in @@ -536,8 +536,9 @@ ;; that'll stop these files appearing in narinfos (database-remove-cached-narinfo-file database - narinfo-id - (symbol->string compression))) + (assq-ref narinfo-details 'id) + (symbol->string + (assq-ref cached-narinfo-details 'compression)))) cached-narinfo-files) (database-remove-narinfo database store-path)) -- cgit v1.2.3