aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-11-30 10:59:16 +0000
committerChristopher Baines <mail@cbaines.net>2019-11-30 10:59:16 +0000
commit7cc5c02cdd4b367f81861dfdf172da95b6481696 (patch)
tree317e6ee9c40b61b126e3fbce7c182ae2282eb1e5 /scripts
parentb278065d2a0b201694e958cd65ad7a3553f4fd51 (diff)
downloaddata-service-7cc5c02cdd4b367f81861dfdf172da95b6481696.tar
data-service-7cc5c02cdd4b367f81861dfdf172da95b6481696.tar.gz
Query build servers for narinfo fileswip-narinfo
As well as making it possible to only query build servers for builds relating to a specific revision.
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)))))