aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-01-31 18:17:18 +0000
committerChristopher Baines <mail@cbaines.net>2023-01-31 18:17:18 +0000
commit549eb2252372f69230ca952ad69c9fd1096e6fed (patch)
treecdce3be30cfb31c2475be398e8088312ebe1241c
parenta849b429bbdd3a772a731544e9845dd0d0a7efc1 (diff)
downloadnar-herder-549eb2252372f69230ca952ad69c9fd1096e6fed.tar
nar-herder-549eb2252372f69230ca952ad69c9fd1096e6fed.tar.gz
Fix the type of the cached narinfo compression when removing
-rw-r--r--nar-herder/database.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/nar-herder/database.scm b/nar-herder/database.scm
index c9e61fe..ff77a57 100644
--- a/nar-herder/database.scm
+++ b/nar-herder/database.scm
@@ -738,7 +738,8 @@ DELETE FROM narinfo_tags WHERE narinfo_id = :narinfo_id"
(database-remove-cached-narinfo-file
database
narinfo-id
- (assq-ref cached-details 'compression)))
+ (symbol->string
+ (assq-ref cached-details 'compression))))
(database-select-cached-narinfo-files-by-narinfo-id
database
narinfo-id))