aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-data-service-query-build-servers.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/guix-data-service-query-build-servers.in b/scripts/guix-data-service-query-build-servers.in
index 2662c89..aa66a9f 100644
--- a/scripts/guix-data-service-query-build-servers.in
+++ b/scripts/guix-data-service-query-build-servers.in
@@ -26,5 +26,7 @@
(guix-data-service database)
(guix-data-service builds))
-(with-postgresql-connection "query-build-servers"
- query-build-servers)
+(with-postgresql-connection
+ "query-build-servers"
+ (lambda (conn)
+ (query-build-servers conn (cdr (command-line)))))