aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-05 16:14:37 +0100
committerChristopher Baines <mail@cbaines.net>2019-12-05 16:14:37 +0100
commit423a096ad7a82e7f157ca55dfd6e38cb77e8c486 (patch)
tree0ac173d05ebe3957606461b5b56aac65d4a51366 /guix-data-service
parentd8072b4af31f0d3b57010b6c6457d582b23029f0 (diff)
downloaddata-service-423a096ad7a82e7f157ca55dfd6e38cb77e8c486.tar
data-service-423a096ad7a82e7f157ca55dfd6e38cb77e8c486.tar.gz
Fix the match statement in select-build-by-build-server-and…
Diffstat (limited to 'guix-data-service')
-rw-r--r--guix-data-service/model/build.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/model/build.scm b/guix-data-service/model/build.scm
index 79da81b..ee83c30 100644
--- a/guix-data-service/model/build.scm
+++ b/guix-data-service/model/build.scm
@@ -105,7 +105,8 @@ WHERE build_server_id = $1 AND derivation_file_name = $2")
query
(list (number->string build-server-id)
derivation-file-name))
- ((id) (string->number id))
+ ((id build_server_id derivation_file_name)
+ (string->number id))
(_
#f)))