diff options
author | Christopher Baines <mail@cbaines.net> | 2024-05-20 14:27:39 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-05-20 14:27:39 +0100 |
commit | 883255eee1a3d1896e2da33cc60c19f050e498c2 (patch) | |
tree | 026a799c3aa19c4e250c314ec230455ac94ba6d2 | |
parent | bbf5119200b844fdb59b54d87fa01cc6abee46c2 (diff) | |
download | nar-herder-883255eee1a3d1896e2da33cc60c19f050e498c2.tar nar-herder-883255eee1a3d1896e2da33cc60c19f050e498c2.tar.gz |
Fix removing cached narinfo files from the db
-rw-r--r-- | scripts/nar-herder.in | 5 |
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)) |