aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service-query-build-servers.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/guix-data-service-query-build-servers.in')
-rw-r--r--scripts/guix-data-service-query-build-servers.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/guix-data-service-query-build-servers.in b/scripts/guix-data-service-query-build-servers.in
index e39932b..2451fbf 100644
--- a/scripts/guix-data-service-query-build-servers.in
+++ b/scripts/guix-data-service-query-build-servers.in
@@ -25,5 +25,4 @@
(squee)
(guix-data-service builds))
-(let ((conn (connect-to-postgres-paramstring "dbname=guix_data_service")))
- (query-build-servers conn))
+(with-postgresql-connection query-build-servers)