aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-04-13 13:57:34 +0100
committerChristopher Baines <mail@cbaines.net>2020-04-13 13:57:34 +0100
commit732d20b4ac6133acf8f991f0dcfc54b639e14a54 (patch)
tree1fbf6e1ba3272dd3d0b6df7146e390e08b8d4cdf /guix-build-coordinator
parent4281e52862e5809c20774f8296cbe05b4c5d93a5 (diff)
downloadbuild-coordinator-732d20b4ac6133acf8f991f0dcfc54b639e14a54.tar
build-coordinator-732d20b4ac6133acf8f991f0dcfc54b639e14a54.tar.gz
Use substitute-derivation in the coordinator
So that it can read the derivation, and store the details in the database.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r--guix-build-coordinator/coordinator.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm
index 64a04c3..d76e2a8 100644
--- a/guix-build-coordinator/coordinator.scm
+++ b/guix-build-coordinator/coordinator.scm
@@ -38,6 +38,9 @@
#:key
requested-uuid
(priority 0))
+ (unless (file-exists? derivation-file)
+ (substitute-derivation derivation-file))
+
(let ((derivation
(read-derivation-from-file derivation-file))
(uuid