aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-05-19 18:49:31 +0100
committerChristopher Baines <mail@cbaines.net>2020-05-19 18:49:31 +0100
commitd5d30b17f678f6b0f7de45ba4fee2a5090b0ee8f (patch)
tree3dfa62fd0db7a1a85903ada0592f51d24a270f91 /guix-build-coordinator/datastore.scm
parent6254450177def40f3d9b51265963ef606f9870ed (diff)
downloadbuild-coordinator-d5d30b17f678f6b0f7de45ba4fee2a5090b0ee8f.tar
build-coordinator-d5d30b17f678f6b0f7de45ba4fee2a5090b0ee8f.tar.gz
Improve handling of submitting builds
Don't always substitute the derivation, just fetch it if it doesn't exist in the database. Also just use the name of the derivation, only read it from the disk when it needs storing in the database.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r--guix-build-coordinator/datastore.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm
index f17a0fb..8b689a5 100644
--- a/guix-build-coordinator/datastore.scm
+++ b/guix-build-coordinator/datastore.scm
@@ -38,6 +38,7 @@
(re-export datastore-list-unprocessed-hook-events)
(re-export datastore-delete-unprocessed-hook-event)
(re-export datastore-list-agent-builds)
+(re-export datastore-find-derivation)
(re-export datastore-find-derivation-outputs)
(re-export datastore-find-derivation-system)
(re-export datastore-find-derivation-inputs)