aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in5
1 files changed, 3 insertions, 2 deletions
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))