aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-qa-frontpage.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/scripts/guix-qa-frontpage.in b/scripts/guix-qa-frontpage.in
index 7c4e42e..9debaf7 100644
--- a/scripts/guix-qa-frontpage.in
+++ b/scripts/guix-qa-frontpage.in
@@ -112,15 +112,14 @@
(assq-ref opts 'host)
(assq-ref opts 'port))
- (let* ((metrics-registry (make-metrics-registry
- #:namespace
- "guixqafrontpage"))
- (database
- (setup-database (assq-ref opts 'database)
- metrics-registry)))
-
- (parameterize
- ((%git-repository-location (string-append (getcwd) "/guix.git")))
+ (parameterize
+ ((%git-repository-location (string-append (getcwd) "/guix.git")))
+ (let* ((metrics-registry (make-metrics-registry
+ #:namespace
+ "guixqafrontpage"))
+ (database
+ (setup-database (assq-ref opts 'database)
+ metrics-registry)))
(start-refresh-data-thread database)