aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-26 09:34:08 +0000
committerChristopher Baines <mail@cbaines.net>2019-12-26 09:34:08 +0000
commitb504094262b78db0e00418d0cd7a921c982f7f68 (patch)
tree3f6a40fe61c54ae853d99973ee19cf3f3771df9f
parentff01144e871b7eaa3b91a3054fa57c3dbbb19702 (diff)
downloaddata-service-b504094262b78db0e00418d0cd7a921c982f7f68.tar
data-service-b504094262b78db0e00418d0cd7a921c982f7f68.tar.gz
Use the returned file name in select-derivation-by-file-name
They should be the same, but it seems more sensible to return the value from the database.
-rw-r--r--guix-data-service/model/derivation.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/derivation.scm b/guix-data-service/model/derivation.scm
index 5b950e3..efccd6c 100644
--- a/guix-data-service/model/derivation.scm
+++ b/guix-data-service/model/derivation.scm
@@ -600,7 +600,7 @@ VALUES ($1, $2)"
#f)
(((id file_name builder args env_vars system))
(list (string->number id)
- file-name
+ file_name
builder
(parse-postgresql-array-string args)
(map (match-lambda