aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-01-16 20:34:44 +0000
committerChristopher Baines <mail@cbaines.net>2020-01-16 20:34:44 +0000
commit54baf32be6e45a6f328dae0f1d88aac61c3ec1ef (patch)
tree8cd721f532540d2a5000e5f37923d346bea5bab1
parentb43fe39ab89fd226bd1512bbbb8ea68ff9d1ad84 (diff)
downloaddata-service-54baf32be6e45a6f328dae0f1d88aac61c3ec1ef.tar
data-service-54baf32be6e45a6f328dae0f1d88aac61c3ec1ef.tar.gz
Fix select-build-id-by-build-server-and-derivation-file-name
The id will be wrapped in a list.
-rw-r--r--guix-data-service/model/build.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/build.scm b/guix-data-service/model/build.scm
index c81fda8..09ebb31 100644
--- a/guix-data-service/model/build.scm
+++ b/guix-data-service/model/build.scm
@@ -310,7 +310,7 @@ WHERE build_server_id = $1 AND derivation_file_name = $2")
query
(list (number->string build-server-id)
derivation-file-name))
- ((id)
+ (((id))
(string->number id))
(_
#f)))