aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nar-herder.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in
index 49a634c..7326526 100644
--- a/scripts/nar-herder.in
+++ b/scripts/nar-herder.in
@@ -417,6 +417,12 @@
(read-narinfo port
"https://narherderdummyvalue")))))
+ (database-insert-narinfo
+ database
+ narinfo
+ #:tags (or (assq-ref opts 'tags)
+ '()))
+
(when canonical-storage
(for-each
(lambda (uri)
@@ -436,12 +442,6 @@
(rename-file source dest))))
(narinfo-uris narinfo)))
- (database-insert-narinfo
- database
- narinfo
- #:tags (or (assq-ref opts 'tags)
- '()))
-
(report)
narinfo))